Set default month to december for year != cur year (avoid new year bug)
This commit is contained in:
parent
3c36249781
commit
0a1b9819c7
|
@ -357,7 +357,7 @@ void AccountPanel::LoadYear(int year, bool showMonth)
|
||||||
if (_curYear == curDate.year())
|
if (_curYear == curDate.year())
|
||||||
month = curDate.month()-1;
|
month = curDate.month()-1;
|
||||||
else
|
else
|
||||||
month = 0;
|
month = 11;
|
||||||
|
|
||||||
for (it = ops[year].begin(); it != ops[year].end(); it++)
|
for (it = ops[year].begin(); it != ops[year].end(); it++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user