summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/client.cpp1
-rw-r--r--src/gui/windows/changepassworddialog.cpp1
2 files changed, 1 insertions, 1 deletions
diff --git a/src/client.cpp b/src/client.cpp
index d5e05db2d..290299f58 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -1592,6 +1592,7 @@ int Client::gameExec()
BLOCK_START("Client::gameExec STATE_CHANGEPASSWORD")
logger->log1("State: CHANGE PASSWORD");
mCurrentDialog = new ChangePasswordDialog(&loginData);
+ mCurrentDialog->setVisible(true);
BLOCK_END("Client::gameExec STATE_CHANGEPASSWORD")
break;
diff --git a/src/gui/windows/changepassworddialog.cpp b/src/gui/windows/changepassworddialog.cpp
index 5d520e95f..59e95be4b 100644
--- a/src/gui/windows/changepassworddialog.cpp
+++ b/src/gui/windows/changepassworddialog.cpp
@@ -75,7 +75,6 @@ ChangePasswordDialog::ChangePasswordDialog(LoginData *const data):
reflowLayout(200);
center();
- setVisible(true);
mOldPassField->requestFocus();
mOldPassField->setActionEventId("change_password");