diff options
Diffstat (limited to 'src/gui/widgets/slider.cpp')
-rw-r--r-- | src/gui/widgets/slider.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/slider.cpp b/src/gui/widgets/slider.cpp index 2ab5bae99..6e523c4ed 100644 --- a/src/gui/widgets/slider.cpp +++ b/src/gui/widgets/slider.cpp @@ -58,6 +58,9 @@ Slider::Slider(const double scaleStart, const double scaleEnd) : Slider::~Slider() { + if (gui) + gui->removeDragged(this); + mInstances--; if (mInstances == 0 && Theme::instance()) { |