summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel W. Wysocki <maci@satgnu.org>2005-08-01 22:16:42 +0000
committerMarcel W. Wysocki <maci@satgnu.org>2005-08-01 22:16:42 +0000
commit12f1786f00d9ab7947a46d8ef562d65b236b440c (patch)
tree63617bfb5bbe29a53377c1bf6699838c76e63030
parent43acec909720a799d2dcb1833644bafe825ad78a (diff)
downloadmana-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.gz
mana-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.bz2
mana-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.xz
mana-12f1786f00d9ab7947a46d8ef562d65b236b440c.zip
making setup dialog quitting too when clicking on Setup button while opened
-rw-r--r--src/gui/status.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/status.cpp b/src/gui/status.cpp
index e507c395..12312490 100644
--- a/src/gui/status.cpp
+++ b/src/gui/status.cpp
@@ -198,7 +198,7 @@ void StatusWindow::action(const std::string& eventId)
}
if (eventId == "Setup") {
// Show / Hide the inventory dialog
- setupWindow->setVisible(true);
+ setupWindow->setVisible(!setupWindow->isVisible());
}
if (eventId == "Equipment") {
// Show / Hide the inventory dialog