Handle month change in treeview
This commit is contained in:
@@ -198,7 +198,7 @@ void GridAccount::LoadOperations(std::vector<Operation>* operations, int month,
|
||||
it = _operations->begin();
|
||||
|
||||
if (rowCount() > 1)
|
||||
clear();
|
||||
setRowCount(1);
|
||||
|
||||
TabDelegate* descriptionEditor = new TabDelegate(this, &_displayedOperations);
|
||||
setItemDelegateForColumn(DESCRIPTION, descriptionEditor);
|
||||
|
||||
Reference in New Issue
Block a user