diff --git a/frontends/src/jp/xmlui_manager.py b/frontends/src/jp/xmlui_manager.py index dd2e699b..9fc3cdc9 100644 --- a/frontends/src/jp/xmlui_manager.py +++ b/frontends/src/jp/xmlui_manager.py @@ -433,7 +433,10 @@ class XMLUIPanel(xmlui_manager.XMLUIPanel): return elif isinstance(cmd, list): name, value = cmd - self.widgets[name].value = value + widget = self.widgets[name] + if widget.type == 'bool': + value = C.bool(value) + widget.value = value self.show() def submitForm(self, callback=None):