Fix a bug : Group a non checked operation with a checked meta did not uncheck meta

This commit is contained in:
2013-02-17 19:11:38 +01:00
parent e0efe42b14
commit 0d80d91a47
2 changed files with 12 additions and 2 deletions

View File

@@ -1298,10 +1298,19 @@ void GridAccount::Group()
row = InsertIntoGrid(op);
if (fullCheck)
{
op.checked = true;
CheckOperation(op, row, true, false);
}
else
{
op.checked = false;
CheckOperation(op, row, false, false);
}
UpdateMeta(op);
if (fullCheck)
CheckMeta(op, row, true);
}
void GridAccount::GetSelectedOperations(std::vector<int>* rows)