diff options
Diffstat (limited to 'src/gui/helpwindow.cpp')
-rw-r--r-- | src/gui/helpwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/helpwindow.cpp b/src/gui/helpwindow.cpp index eeda8c907..3c091ce65 100644 --- a/src/gui/helpwindow.cpp +++ b/src/gui/helpwindow.cpp @@ -88,8 +88,8 @@ void HelpWindow::action(const gcn::ActionEvent &event) { if (didYouKnowWindow) { - didYouKnowWindow->setVisible(!didYouKnowWindow->isVisible()); - if (didYouKnowWindow->isVisible()) + didYouKnowWindow->setVisible(!didYouKnowWindow->isWindowVisible()); + if (didYouKnowWindow->isWindowVisible()) didYouKnowWindow->requestMoveToTop(); } } |