Commit 186bb3ec authored by Keegi's avatar Keegi

fix BooleanSetting _set_value to update the widget

parent 84ff9b6c
...@@ -191,6 +191,9 @@ class BooleanSetting(wxSetting): ...@@ -191,6 +191,9 @@ class BooleanSetting(wxSetting):
return bool(self._value) return bool(self._value)
def _set_value(self, value): def _set_value(self, value):
self._value = value self._value = value
if self.widget:
self.widget.SetValue(bool(value))
value = property(_get_value, _set_value) value = property(_get_value, _set_value)
def get_specific_widget(self, parent): def get_specific_widget(self, parent):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment