Fix a bug (d\'ont check date for auto completion)

This commit is contained in:
Grégory Soutadé 2011-06-18 11:43:02 +02:00
parent 557037f397
commit 8c5fab48f2
1 changed files with 1 additions and 1 deletions

View File

@ -728,7 +728,7 @@ void GridAccount::OnOperationModified(wxGridEvent& event)
op_complete--;
}
if (col == DESCRIPTION &&
if (col == DESCRIPTION && GetCellValue(row, OP_DATE).Length() &&
(!GetCellValue(row, CATEGORY).Length() ||
!GetCellValue(row, ACCOUNT).Length() ||
!_canAddOperation))