# HG changeset patch # User Goffi # Date 1509490279 -3600 # Node ID 7641bef56dcd920cc542da5e15af7a72f3f658fe # Parent f9167c053475d2f8789ff9a5bbfcd93e809feb0f jp (xmlui): fixed workflow when value is for a BoolWidget diff -r f9167c053475 -r 7641bef56dcd frontends/src/jp/xmlui_manager.py --- a/frontends/src/jp/xmlui_manager.py Tue Oct 31 23:30:18 2017 +0100 +++ b/frontends/src/jp/xmlui_manager.py Tue Oct 31 23:51:19 2017 +0100 @@ -433,7 +433,10 @@ 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):