summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
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 /src/gui/status.cpp
parent43acec909720a799d2dcb1833644bafe825ad78a (diff)
downloadmana-client-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.gz
mana-client-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.bz2
mana-client-12f1786f00d9ab7947a46d8ef562d65b236b440c.tar.xz
mana-client-12f1786f00d9ab7947a46d8ef562d65b236b440c.zip
making setup dialog quitting too when clicking on Setup button while opened
Diffstat (limited to 'src/gui/status.cpp')
-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