From 36c01b0c5652ea4f50ba5b69abb6df7cdb53bf1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory?= Date: Thu, 17 Jun 2010 12:34:44 +0200 Subject: [PATCH] AccountsPanel 90%, missing : * Month generation * Fix extension * Better display * Operation deletion --- view/AccountPanel.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/view/AccountPanel.cpp b/view/AccountPanel.cpp index 6f70e58..12706b9 100644 --- a/view/AccountPanel.cpp +++ b/view/AccountPanel.cpp @@ -575,10 +575,10 @@ void AccountPanel::OnOperationModified(wxGridEvent& event) value = _grid->GetCellValue(event.GetRow(), CHECKED); if (value != _("")) - { - new_op.checked = (value == _("1")); - op_complete--; - } + new_op.checked = true; + else + new_op.checked = false; + op_complete--; if (col == CHECKED || col == CATEGORY) {