Fix bugs with new users
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -143,7 +143,6 @@ void wxUI::ShowPreferences()
|
||||
void wxUI::ChangeUser()
|
||||
{
|
||||
UsersDialog u(_kiss, this);
|
||||
u.ShowModal();
|
||||
}
|
||||
|
||||
void wxUI::LoadUser()
|
||||
|
||||
Reference in New Issue
Block a user