diff options
Diffstat (limited to 'src/gui/widgets/checkbox.cpp')
-rw-r--r-- | src/gui/widgets/checkbox.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gui/widgets/checkbox.cpp b/src/gui/widgets/checkbox.cpp index b01a4e679..c57af2eaa 100644 --- a/src/gui/widgets/checkbox.cpp +++ b/src/gui/widgets/checkbox.cpp @@ -161,6 +161,7 @@ CheckBox::~CheckBox() if (theme != nullptr) theme->unload(mSkin); } + removeMouseListener(this); } void CheckBox::draw(Graphics *const graphics) |