summaryrefslogtreecommitdiff
path: root/src/gui/windows/shortcutwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/shortcutwindow.cpp')
-rw-r--r--src/gui/windows/shortcutwindow.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/windows/shortcutwindow.cpp b/src/gui/windows/shortcutwindow.cpp
index d701cd927..9122220f4 100644
--- a/src/gui/windows/shortcutwindow.cpp
+++ b/src/gui/windows/shortcutwindow.cpp
@@ -74,8 +74,6 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
if (content != nullptr)
content->setSkin(this, mSkin);
- if (setupWindow != nullptr)
- setupWindow->registerWindowForReset(this);
setMinWidth(32);
setMinHeight(32);
@@ -132,9 +130,6 @@ ShortcutWindow::ShortcutWindow(const std::string &restrict title,
mDragOffsetX = 0;
mDragOffsetY = 0;
- if (setupWindow != nullptr)
- setupWindow->registerWindowForReset(this);
-
if ((width != 0) && (height != 0))
setDefaultSize(width, height, ImagePosition::LOWER_RIGHT, 0, 0);