[bugfix] init Checkbox if parameter is not found
This commit is contained in:
parent
924eb8aae6
commit
04bf655cf1
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user