diff options
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp index 4ba96ff22..9e6e3885b 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1754,8 +1754,8 @@ void Client::action(const gcn::ActionEvent &event) if (setupWindow) { - setupWindow->setVisible(!setupWindow->isVisible()); - if (setupWindow->isVisible()) + setupWindow->setVisible(!setupWindow->isWindowVisible()); + if (setupWindow->isWindowVisible()) { if (!tab.empty()) setupWindow->activateTab(tab); |