summaryrefslogtreecommitdiff
path: root/src/wx/content_widget.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-09-06 23:14:53 +0100
committerCarl Hetherington <cth@carlh.net>2018-09-06 23:14:53 +0100
commit8796ee8654dfbf98290bfaaca1388e50ab962b40 (patch)
tree07881c2b6fe69ea6d91f4cb1d5c0a748f3f9c5db /src/wx/content_widget.h
parentae2a7f6ae087b807de225448c71130eb1e7d6726 (diff)
Put OV checkbox into advanced UI.
Diffstat (limited to 'src/wx/content_widget.h')
-rw-r--r--src/wx/content_widget.h4
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;
}