diff options
Diffstat (limited to 'src/gui/widgets/radiobutton.cpp')
-rw-r--r-- | src/gui/widgets/radiobutton.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/widgets/radiobutton.cpp b/src/gui/widgets/radiobutton.cpp index 06391217d..a2acf3d69 100644 --- a/src/gui/widgets/radiobutton.cpp +++ b/src/gui/widgets/radiobutton.cpp @@ -73,6 +73,9 @@ RadioButton::RadioButton(const Widget2 *const widget, RadioButton::~RadioButton() { + if (gui) + gui->removeDragged(this); + instances--; if (instances == 0) |