Fix Account loading bug

This commit is contained in:
2010-07-03 11:03:36 +02:00
parent 4c3f2cc209
commit c237b9f057
3 changed files with 22 additions and 10 deletions

View File

@@ -952,7 +952,7 @@ void AccountPanel::OnMenuDelete(wxCommandEvent& event)
if (ops.size() == 1 && ops[year].size() == 1)
{
wxMessageBox(_("It must be at least one month"), _("Error"), wxICON_ERROR | wxOK);
wxMessageBox(_("It must be at least one month !"), _("Error"), wxICON_ERROR | wxOK);
return;
}

View File

@@ -248,7 +248,8 @@ void PreferencesPanel::OnAccountModified(wxGridEvent& event)
{
if (user->_accounts.size() == 1)
{
wxMessageBox(_("It must be at least one account"), _("Error"), wxICON_ERROR | wxOK);
wxMessageBox(_("It must be at least one account !"), _("Error"), wxICON_ERROR | wxOK);
_accountsGrid->SetCellValue(row, col, _("0"));
return;
}
wxMessageDialog dialog(_wxUI, _("Are you sure want to delete ")+new_account.name, _("KissCount"), wxYES_NO);