Fix bugs with new users

This commit is contained in:
2010-08-24 22:23:56 +02:00
parent fb1007bfcb
commit dd5f231f20
4 changed files with 4 additions and 18 deletions

View File

@@ -71,6 +71,8 @@ UsersDialog::UsersDialog(KissCount* kiss, wxUI *parent) : wxDialog(&(*parent), -
if (users_list.size() == 0)
OnNewUser(event);
else
ShowModal();
}
void UsersDialog::OnOK(wxCommandEvent& event)

View File

@@ -143,7 +143,6 @@ void wxUI::ShowPreferences()
void wxUI::ChangeUser()
{
UsersDialog u(_kiss, this);
u.ShowModal();
}
void wxUI::LoadUser()