diff options
Diffstat (limited to 'src/gui/widgets/progressbar.cpp')
-rw-r--r-- | src/gui/widgets/progressbar.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/progressbar.cpp b/src/gui/widgets/progressbar.cpp index 7b7e088b6..ce5c9c01e 100644 --- a/src/gui/widgets/progressbar.cpp +++ b/src/gui/widgets/progressbar.cpp @@ -78,6 +78,9 @@ ProgressBar::ProgressBar(const Widget2 *const widget, float progress, ProgressBar::~ProgressBar() { + if (gui) + gui->removeDragged(this); + mInstances--; if (mSkin) { |