summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/windows/shortcutwindow.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index d701cd927..6a1846e50 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -65,8 +65,10 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
setShowTitle(false);
setResizable(true);
+ setStickyButtonLock(true);
setDefaultVisible(false);
setSaveVisible(true);
+ setCloseButton(true);
setAllowClose(true);
mDragOffsetX = 0;
@@ -123,10 +125,13 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
{
setWindowName(title);
setTitleBarHeight(getPadding() + getTitlePadding());
+
setShowTitle(false);
setResizable(true);
+ setStickyButtonLock(true);
setDefaultVisible(false);
setSaveVisible(true);
+ setCloseButton(true);
setAllowClose(true);
mDragOffsetX = 0;