From 4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 11 Mar 2014 21:05:24 +0300 Subject: Show copyright at background. --- src/actionmanager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/actionmanager.cpp') diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp index e8bdc7511..381244799 100644 --- a/src/actionmanager.cpp +++ b/src/actionmanager.cpp @@ -703,11 +703,11 @@ impHandler0(hideWindows) return true; } -static bool showHelpPage(const std::string &page) +static bool showHelpPage(const std::string &page, const bool showHide) { if (helpWindow) { - if (helpWindow->isWindowVisible()) + if (showHide && helpWindow->isWindowVisible()) { helpWindow->setVisible(false); } @@ -723,12 +723,12 @@ static bool showHelpPage(const std::string &page) impHandler0(helpWindowShow) { - return showHelpPage("index"); + return showHelpPage("index", true); } impHandler0(aboutWindowShow) { - return showHelpPage("about"); + return showHelpPage("about", false); } static void showHideWindow(Window *const window) -- cgit v1.2.3-70-g09d2