SelectionWidget has no function show_as_local_parameter; fixes #75
This commit is contained in:
parent
4e2938b2a2
commit
5590b5cd16
@ -181,7 +181,11 @@ class QFitParameterWidget(QtWidgets.QWidget, Ui_FormFit):
|
|||||||
for i, value in enumerate(self.data_values[sid]):
|
for i, value in enumerate(self.data_values[sid]):
|
||||||
w = self.data_parameter[i]
|
w = self.data_parameter[i]
|
||||||
w.blockSignals(True)
|
w.blockSignals(True)
|
||||||
w.show_as_local_parameter(value is not None)
|
try:
|
||||||
|
w.show_as_local_parameter(value is not None)
|
||||||
|
except AttributeError:
|
||||||
|
pass
|
||||||
|
|
||||||
if value is None:
|
if value is None:
|
||||||
w.value = self.glob_values[i]
|
w.value = self.glob_values[i]
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user