diff options
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index 77f81f72b..63e73569f 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -80,6 +80,9 @@ CheckBox::CheckBox(const Widget2 *const widget, CheckBox::~CheckBox() { + if (gui) + gui->removeDragged(this); + instances--; if (instances == 0) |