diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-06 23:14:53 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-06 23:14:53 +0100 |
| commit | 8796ee8654dfbf98290bfaaca1388e50ab962b40 (patch) | |
| tree | 07881c2b6fe69ea6d91f4cb1d5c0a748f3f9c5db /src/wx/content_widget.h | |
| parent | ae2a7f6ae087b807de225448c71130eb1e7d6726 (diff) | |
Put OV checkbox into advanced UI.
Diffstat (limited to 'src/wx/content_widget.h')
| -rw-r--r-- | src/wx/content_widget.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/content_widget.h b/src/wx/content_widget.h index 048a79253..c4ae4d591 100644 --- a/src/wx/content_widget.h +++ b/src/wx/content_widget.h @@ -158,7 +158,7 @@ private: void set_single () { - if (_wrapped->IsShown ()) { + if (_wrapped->IsShown() || !_sizer) { return; } @@ -171,7 +171,7 @@ private: void set_multiple () { - if (_button->IsShown ()) { + if (_button->IsShown() || !_sizer) { return; } |
