Add scrollbar (bug when add month ...)
Fix bug on account deletion
This commit is contained in:
@@ -127,7 +127,10 @@ void KissCount::DeleteAccount(struct Account ac)
|
||||
_db->DeleteAccount(ac);
|
||||
for (i=0, it=_user->_accounts.begin(); it !=_user->_accounts.end(); it++, i++)
|
||||
if (it->id == ac.id)
|
||||
_user->_accounts.erase(_user->_accounts.begin()+i);
|
||||
{
|
||||
_user->_accounts.erase(_user->_accounts.begin()+i);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
wxString KissCount::AddCategory(struct category category)
|
||||
|
Reference in New Issue
Block a user