diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-03-11 21:05:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-03-11 23:47:01 +0300 |
commit | 4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f (patch) | |
tree | 73463ea6cb20a670665de746105419dbf394f926 /src/actionmanager.cpp | |
parent | 86b8c903900a59f99b2e1f02232476d600ae5a12 (diff) | |
download | mv-4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f.tar.gz mv-4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f.tar.bz2 mv-4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f.tar.xz mv-4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f.zip |
Show copyright at background.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r-- | src/actionmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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) |