summaryrefslogtreecommitdiff
path: root/src/gui/helpwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/helpwindow.cpp')
-rw-r--r--src/gui/helpwindow.cpp4
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();
}
}