diff options
Diffstat (limited to 'src/gui/register.cpp')
-rw-r--r-- | src/gui/register.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/register.cpp b/src/gui/register.cpp index 1c1f0a26..458452eb 100644 --- a/src/gui/register.cpp +++ b/src/gui/register.cpp @@ -83,7 +83,8 @@ RegisterDialog::RegisterDialog(LoginData *loginData): mFemaleButton->setPosition(width - mFemaleButton->getWidth() - 10, mConfirmField->getY() + mConfirmField->getHeight() + 7); - mMaleButton->setPosition(mFemaleButton->getX() - mMaleButton->getWidth() - 5, + mMaleButton->setPosition( + mFemaleButton->getX() - mMaleButton->getWidth() - 5, mFemaleButton->getY()); mRegisterButton->setPosition(5, height - mRegisterButton->getHeight() - 5); @@ -104,6 +105,7 @@ RegisterDialog::RegisterDialog(LoginData *loginData): add(mCancelButton); setLocationRelativeTo(getParent()); + setVisible(true); mUserField->requestFocus(); mUserField->setCaretPosition(mUserField->getText().length()); |