summaryrefslogtreecommitdiff
path: root/src/gui/ok_dialog.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/ok_dialog.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/ok_dialog.cpp')
-rw-r--r--src/gui/ok_dialog.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/ok_dialog.cpp b/src/gui/ok_dialog.cpp
index e527339e..4f9623d7 100644
--- a/src/gui/ok_dialog.cpp
+++ b/src/gui/ok_dialog.cpp
@@ -51,10 +51,11 @@ OkDialog::OkDialog(const std::string &title, const std::string &msg,
add(okButton);
setLocationRelativeTo(getParent());
+ setVisible(true);
okButton->requestFocus();
}
-void OkDialog::action(const std::string& eventId, gcn::Widget* widget)
+void OkDialog::action(const std::string &eventId, gcn::Widget *widget)
{
// Proxy button events to our listeners
ActionListenerIterator i;