From 90b77f4c3939f1da10c7a21a182e913ff0e2ec1d Mon Sep 17 00:00:00 2001 From: jak1 Date: Wed, 4 Nov 2020 09:34:16 +0100 Subject: added desync walkaround --- src/gui/widgets/checkbox.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gui/widgets/checkbox.cpp') 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) -- cgit v1.2.3-70-g09d2