summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.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/windows/shortcutwindow.cpp
parentcb6f070779f94f3d69ba7576affb0588b61e7b7c (diff)
downloadplus-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.gz
plus-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.bz2
plus-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.tar.xz
plus-f3af5f96c82044769ac2d1194cfa1ea0aca17bf5.zip
Add close button to all shortcuts windows.
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index df9aced4c..f463b5526 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -64,6 +64,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
setResizable(true);
setDefaultVisible(false);
setSaveVisible(true);
+ setAllowClose(true);
mDragOffsetX = 0;
mDragOffsetY = 0;
@@ -123,6 +124,7 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
setResizable(true);
setDefaultVisible(false);
setSaveVisible(true);
+ setAllowClose(true);
mDragOffsetX = 0;
mDragOffsetY = 0;