summaryrefslogtreecommitdiff
path: root/src/gui/popups/popupmenu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-10 21:58:08 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-10 21:58:08 +0300
commitf3af5f96c82044769ac2d1194cfa1ea0aca17bf5 (patch)
tree6722a88198292e82e0f00bf24a71bee3be6c120d /src/gui/popups/popupmenu.cpp
parentcb6f070779f94f3d69ba7576affb0588b61e7b7c (diff)
downloadmv-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.gz
mv-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.bz2
mv-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.xz
mv-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.zip
Add close button to all shortcuts windows.
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r--src/gui/popups/popupmenu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp
index d9d3999c1..d183dcdca 100644
--- a/src/gui/popups/popupmenu.cpp
+++ b/src/gui/popups/popupmenu.cpp
@@ -983,7 +983,7 @@ void PopupMenu::addWindowMenu(Window *const window)
if (!window)
return;
- if (window->getCloseButton())
+ if (window->getAlowClose())
{
// TRANSLATORS: popup menu item
// TRANSLATORS: close window