Grouped operations have bad month/year in SearchPanel
This commit is contained in:
parent
f870f81265
commit
e477e3a70c
|
@ -2,7 +2,7 @@ v0.2_dev (29/01/2011)
|
||||||
|
|
||||||
** User **
|
** User **
|
||||||
Better use of sizers (so better interface!)
|
Better use of sizers (so better interface!)
|
||||||
No further problems with scrollbar in AccountPanel when there is a lot of operations
|
No further problems with scrollbar in AccountPanel/SearchPanel when there is a lot of operations
|
||||||
Better fit of interface when displaying grouped operations
|
Better fit of interface when displaying grouped operations
|
||||||
|
|
||||||
** Dev **
|
** Dev **
|
||||||
|
@ -17,3 +17,4 @@ v0.2_dev (29/01/2011)
|
||||||
Unordered accounts (makes account selection points to bad indexes on account graph)
|
Unordered accounts (makes account selection points to bad indexes on account graph)
|
||||||
Bug in account creation (readonly fields)
|
Bug in account creation (readonly fields)
|
||||||
Bug in search bad computation of month with start_date and end_date
|
Bug in search bad computation of month with start_date and end_date
|
||||||
|
Grouped operations have bad month/year in SearchPanel
|
||||||
|
|
|
@ -116,6 +116,7 @@ SearchPanel::SearchPanel(KissCount* kiss, wxUI *parent) : KissPanel(kiss, parent
|
||||||
Fit();
|
Fit();
|
||||||
|
|
||||||
SetMinSize(wxSize(rect.width-rect.x-15, rect.height-rect.y-128-25));
|
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);
|
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++)
|
for (i=1, it=op.childs.begin(); it!=op.childs.end(); it++, i++)
|
||||||
{
|
{
|
||||||
op2 = GetOperation(*it);
|
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
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user