diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-03 17:00:07 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2006-12-03 17:00:07 +0000 |
commit | 061b9e817ffe73acca163510b276e6ca7dd8f6c2 (patch) | |
tree | c1488381a9a62520f94cdb353bd5bd12ebc1b699 /src/gui/register.cpp | |
parent | 092bf185fc056338bcde2749a304e576edf342fd (diff) | |
download | mana-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.gz mana-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.bz2 mana-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.xz mana-061b9e817ffe73acca163510b276e6ca7dd8f6c2.zip |
Made NPC names visible. Windows are now invisible by default.
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()); |