Set default month to december for year != cur year (avoid new year bug)

This commit is contained in:
Grégory Soutadé 2018-01-06 19:42:24 +01:00
parent 3c36249781
commit 0a1b9819c7

View File

@ -357,7 +357,7 @@ void AccountPanel::LoadYear(int year, bool showMonth)
if (_curYear == curDate.year())
month = curDate.month()-1;
else
month = 0;
month = 11;
for (it = ops[year].begin(); it != ops[year].end(); it++)
{