Fix a bug
This commit is contained in:
parent
cac8f4b25e
commit
91de94f142
|
@ -234,7 +234,7 @@ void AccountPanel::LoadYear(int year, bool showMonth)
|
||||||
std::map<int, std::vector<int> > ops ;
|
std::map<int, std::vector<int> > ops ;
|
||||||
std::vector<int>::iterator it;
|
std::vector<int>::iterator it;
|
||||||
|
|
||||||
if (user->_operations[year])
|
if (user->_operations[year] && _tree.GetChildrenCount(_tree.GetSelection(), true))
|
||||||
{
|
{
|
||||||
if (showMonth)
|
if (showMonth)
|
||||||
ShowMonth(-1, year);
|
ShowMonth(-1, year);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user