diff options
Diffstat (limited to 'src/gui/widgets/shortcutcontainer.cpp')
-rw-r--r-- | src/gui/widgets/shortcutcontainer.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/shortcutcontainer.cpp b/src/gui/widgets/shortcutcontainer.cpp index cd9bcd7c0..5ebe67a4f 100644 --- a/src/gui/widgets/shortcutcontainer.cpp +++ b/src/gui/widgets/shortcutcontainer.cpp @@ -51,6 +51,9 @@ ShortcutContainer::ShortcutContainer() : ShortcutContainer::~ShortcutContainer() { + if (gui) + gui->removeDragged(this); + delete mVertexes; mVertexes = nullptr; } |