Move code grid into GridAccount
Clear and focus to password textctrl when typing invalid password at login
This commit is contained in:
@@ -86,6 +86,8 @@ void UsersDialog::OnOK(wxCommandEvent& event)
|
||||
if (!_kiss->IsValidUser(_users->GetStringSelection(), _password->GetLineText(0)))
|
||||
{
|
||||
wxMessageBox(_("Invalid password"), _("Error"), wxICON_ERROR | wxOK);
|
||||
_password->Clear();
|
||||
_password->SetFocus();
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user