From bc4957b24e6939f4e681e9412f9bbdd483a6bc35 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 4 Jun 2015 22:51:17 +0300 Subject: Fix removing listeners from window if used guitable as container. This fixing crash with settings window after reconnect to server. --- src/gui/widgets/checkbox.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gui/widgets/checkbox.h') diff --git a/src/gui/widgets/checkbox.h b/src/gui/widgets/checkbox.h index 5555046ba..2f2fe812d 100644 --- a/src/gui/widgets/checkbox.h +++ b/src/gui/widgets/checkbox.h @@ -182,6 +182,8 @@ class CheckBox final : public Widget, void widgetHidden(const Event &event) override final; + void setWindow(Widget *const widget) override final; + private: void toggleSelected(); -- cgit v1.2.3-70-g09d2