Consistently emit values with Parameter.sigValueChanging
This commit is contained in:
parent
d737d80c52
commit
4561b18377
@ -245,9 +245,7 @@ class WidgetParameterItem(ParameterItem):
|
||||
Called when the widget's value is changing, but not finalized.
|
||||
For example: editing text before pressing enter or changing focus.
|
||||
"""
|
||||
# This is a bit sketchy: assume the last argument of each signal is
|
||||
# the value..
|
||||
self.param.sigValueChanging.emit(self.param, args[-1])
|
||||
self.param.sigValueChanging.emit(self.param, self.widget.value())
|
||||
|
||||
def selected(self, sel):
|
||||
"""Called when this item has been selected (sel=True) OR deselected (sel=False)"""
|
||||
|
Loading…
Reference in New Issue
Block a user