summaryrefslogtreecommitdiff
path: root/src/actionmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-11 21:05:24 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-11 23:47:01 +0300
commit4f967c32a2ff7e6e2cebcc3d3f7b6aaad7465c2f (patch)
tree73463ea6cb20a670665de746105419dbf394f926 /src/actionmanager.cpp
parent86b8c903900a59f99b2e1f02232476d600ae5a12 (diff)
downloadmv-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.cpp8
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)