Attempt at passing Qt 4 CI pipelines

This commit is contained in:
Daniel Lidstrom 2020-12-21 23:15:57 -08:00
parent 8105385230
commit c2f0de0471

View File

@ -199,6 +199,7 @@ class WidgetParameterItem(ParameterItem):
def valueChanged(self, param, val, force=False):
## called when the parameter's value has changed
ParameterItem.valueChanged(self, param, val)
val = self.param.value() # val might not have been current
if force or not fn.eq(val, self.widget.value()):
try:
self.widget.sigChanged.disconnect(self.widgetValueChanged)