Fix a bug : Search for previous operation failed

This commit is contained in:
Grégory Soutadé 2011-03-25 19:36:21 +01:00
parent 478728f69e
commit d0b537d6c9

View File

@ -733,6 +733,7 @@ void GridAccount::OnOperationModified(wxGridEvent& event)
!GetCellValue(row, ACCOUNT).Length() ||
!_canAddOperation))
{
new_op.fix_cost = (row <= _fixCosts);
if (_kiss->SearchPreviousOperation(&op_tmp, new_op, new_op.month, new_op.year, _canAddOperation))
{
new_op.category = op_tmp.category;