summaryrefslogtreecommitdiff
path: root/src/gui/windows/registerdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/registerdialog.cpp')
-rw-r--r--src/gui/windows/registerdialog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windows/registerdialog.cpp b/src/gui/windows/registerdialog.cpp
index 841b3768f..d0d504f8a 100644
--- a/src/gui/windows/registerdialog.cpp
+++ b/src/gui/windows/registerdialog.cpp
@@ -154,6 +154,10 @@ RegisterDialog::RegisterDialog(LoginData *const data) :
mConfirmField->addActionListener(this);
center();
+}
+
+void RegisterDialog::postInit()
+{
setVisible(true);
mUserField->requestFocus();
mUserField->setCaretPosition(static_cast<unsigned>(