diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-04 22:51:17 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-04 22:51:17 +0300 |
commit | bc4957b24e6939f4e681e9412f9bbdd483a6bc35 (patch) | |
tree | 26f151a039a24f294774d32a4e1f89ceaa6ae2af /src/gui/widgets/checkbox.h | |
parent | fe84fc25906d6cc6801f9e15cf2652e1d16419ca (diff) | |
download | manaverse-bc4957b24e6939f4e681e9412f9bbdd483a6bc35.tar.gz manaverse-bc4957b24e6939f4e681e9412f9bbdd483a6bc35.tar.bz2 manaverse-bc4957b24e6939f4e681e9412f9bbdd483a6bc35.tar.xz manaverse-bc4957b24e6939f4e681e9412f9bbdd483a6bc35.zip |
Fix removing listeners from window if used guitable as container.
This fixing crash with settings window after reconnect to server.
Diffstat (limited to 'src/gui/widgets/checkbox.h')
-rw-r--r-- | src/gui/widgets/checkbox.h | 2 |
1 files changed, 2 insertions, 0 deletions
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(); |