From 04bf655cf1af23db42651c8ff261c92e623ea76b Mon Sep 17 00:00:00 2001 From: marcel Date: Fri, 4 Aug 2017 10:27:23 +0200 Subject: [PATCH] [bugfix] init Checkbox if parameter is not found --- pylot/core/util/widgets.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pylot/core/util/widgets.py b/pylot/core/util/widgets.py index 00d40501..b3a74cc8 100644 --- a/pylot/core/util/widgets.py +++ b/pylot/core/util/widgets.py @@ -2762,7 +2762,7 @@ class PylotParaBox(QtGui.QWidget): elif type(box) == QtGui.QCheckBox: if value == 'True': value = True - if value == 'False': + if value == 'False' or value is None: value = False box.setChecked(value) elif type(box) == list: