summaryrefslogtreecommitdiff
path: root/src/gui/status.cpp
diff options
context:
space:
mode:
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