diff options
Diffstat (limited to 'src/gui/widgets/tab.cpp')
-rw-r--r-- | src/gui/widgets/tab.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/tab.cpp b/src/gui/widgets/tab.cpp index 18e2510ee..29b2e70c4 100644 --- a/src/gui/widgets/tab.cpp +++ b/src/gui/widgets/tab.cpp @@ -83,6 +83,9 @@ Tab::Tab(const Widget2 *const widget) : Tab::~Tab() { + if (gui) + gui->removeDragged(this); + mInstances--; if (mInstances == 0 && Theme::instance()) { |