From c2f0de04712b7ad81ced0334a3515558d03776f5 Mon Sep 17 00:00:00 2001 From: Daniel Lidstrom Date: Mon, 21 Dec 2020 23:15:57 -0800 Subject: [PATCH] Attempt at passing Qt 4 CI pipelines --- pyqtgraph/parametertree/parameterTypes.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pyqtgraph/parametertree/parameterTypes.py b/pyqtgraph/parametertree/parameterTypes.py index 656c69cb..97c92ddd 100644 --- a/pyqtgraph/parametertree/parameterTypes.py +++ b/pyqtgraph/parametertree/parameterTypes.py @@ -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)