Fix a bug : Group a non checked operation with a checked meta did not uncheck meta
This commit is contained in:
parent
e0efe42b14
commit
0d80d91a47
|
@ -16,6 +16,7 @@ v0.4 (17/02/2013)
|
||||||
When user changes month or year in SearchBanner, A new date wasn't selected by default resulting in bad SQL query
|
When user changes month or year in SearchBanner, A new date wasn't selected by default resulting in bad SQL query
|
||||||
Date in search failed in january
|
Date in search failed in january
|
||||||
File was not truncated during export
|
File was not truncated during export
|
||||||
|
Group a non checked operation with a checked meta did not uncheck meta
|
||||||
|
|
||||||
|
|
||||||
v0.3 (31/05/2012)
|
v0.3 (31/05/2012)
|
||||||
|
|
|
@ -1298,10 +1298,19 @@ void GridAccount::Group()
|
||||||
|
|
||||||
row = InsertIntoGrid(op);
|
row = InsertIntoGrid(op);
|
||||||
|
|
||||||
|
if (fullCheck)
|
||||||
|
{
|
||||||
|
op.checked = true;
|
||||||
|
CheckOperation(op, row, true, false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
op.checked = false;
|
||||||
|
CheckOperation(op, row, false, false);
|
||||||
|
}
|
||||||
|
|
||||||
UpdateMeta(op);
|
UpdateMeta(op);
|
||||||
|
|
||||||
if (fullCheck)
|
|
||||||
CheckMeta(op, row, true);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void GridAccount::GetSelectedOperations(std::vector<int>* rows)
|
void GridAccount::GetSelectedOperations(std::vector<int>* rows)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user