From 061b9e817ffe73acca163510b276e6ca7dd8f6c2 Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 3 Dec 2006 17:00:07 +0000 Subject: Made NPC names visible. Windows are now invisible by default. --- src/gui/register.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gui/register.cpp') 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()); -- cgit v1.2.3-70-g09d2