[bugfix] init Checkbox if parameter is not found

This commit is contained in:
Marcel Paffrath 2017-08-04 10:27:23 +02:00
parent 924eb8aae6
commit 04bf655cf1

View File

@ -2762,7 +2762,7 @@ class PylotParaBox(QtGui.QWidget):
elif type(box) == QtGui.QCheckBox: elif type(box) == QtGui.QCheckBox:
if value == 'True': if value == 'True':
value = True value = True
if value == 'False': if value == 'False' or value is None:
value = False value = False
box.setChecked(value) box.setChecked(value)
elif type(box) == list: elif type(box) == list: