Fix Account loading bug
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user