Grouped operations have bad month/year in SearchPanel
This commit is contained in:
@@ -116,6 +116,7 @@ SearchPanel::SearchPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent
|
||||
Fit();
|
||||
|
||||
SetMinSize(wxSize(rect.width-rect.x-15, rect.height-rect.y-128-25));
|
||||
SetMaxSize(wxSize(rect.width-rect.x-15, rect.height-rect.y-128-25));
|
||||
SetScrollbars(10, 10, 100/10, 100/10);
|
||||
}
|
||||
|
||||
|
@@ -664,7 +664,7 @@ void GridAccount::OnOperationModified(wxGridEvent& event)
|
||||
for (i=1, it=op.childs.begin(); it!=op.childs.end(); it++, i++)
|
||||
{
|
||||
op2 = GetOperation(*it);
|
||||
InsertOperationWithWeek(user, op2, row+i, op2.fix_cost, _curMonth, _curYear);
|
||||
InsertOperationWithWeek(user, op2, row+i, op2.fix_cost, op2.month, op2.year);
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user