summaryrefslogtreecommitdiff
path: root/src/gui/windows/logindialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/logindialog.cpp')
-rw-r--r--src/gui/windows/logindialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/logindialog.cpp b/src/gui/windows/logindialog.cpp
index c320e0e10..f6c1baf42 100644
--- a/src/gui/windows/logindialog.cpp
+++ b/src/gui/windows/logindialog.cpp
@@ -252,6 +252,10 @@ LoginDialog::LoginDialog(LoginData *const data, std::string serverName,
reflowLayout();
center();
+}
+
+void LoginDialog::postInit()
+{
setVisible(true);
if (mUserField->getText().empty())