summaryrefslogtreecommitdiff
path: root/src/gui/char_select.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-03 17:00:07 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-03 17:00:07 +0000
commit061b9e817ffe73acca163510b276e6ca7dd8f6c2 (patch)
treec1488381a9a62520f94cdb353bd5bd12ebc1b699 /src/gui/char_select.cpp
parent092bf185fc056338bcde2749a304e576edf342fd (diff)
downloadmana-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/char_select.cpp')
-rw-r--r--src/gui/char_select.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gui/char_select.cpp b/src/gui/char_select.cpp
index fa4c0241..d91019e3 100644
--- a/src/gui/char_select.cpp
+++ b/src/gui/char_select.cpp
@@ -121,8 +121,9 @@ CharSelectDialog::CharSelectDialog(Network *network,
add(mJobLevelLabel);
add(mMoneyLabel);
- mSelectButton->requestFocus();
setLocationRelativeTo(getParent());
+ setVisible(true);
+ mSelectButton->requestFocus();
updatePlayerInfo();
}
@@ -309,6 +310,7 @@ CharCreateDialog::CharCreateDialog(Window *parent, int slot, Network *network,
add(mCancelButton);
setLocationRelativeTo(getParent());
+ setVisible(true);
}
void CharCreateDialog::action(const std::string& eventId, gcn::Widget* widget)