mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
do not trigger value change signal when hiding multiselection label
This commit is contained in:
parent
6ed7ebebce
commit
cd11029665
1 changed files with 2 additions and 0 deletions
|
|
@ -347,7 +347,9 @@ class NumberAttrWidget(_BaseAttrDefWidget):
|
||||||
value = self.attr_def.default
|
value = self.attr_def.default
|
||||||
else:
|
else:
|
||||||
value = self._last_multivalue
|
value = self._last_multivalue
|
||||||
|
self._input_widget.blockSignals(True)
|
||||||
self._input_widget.setValue(value)
|
self._input_widget.setValue(value)
|
||||||
|
self._input_widget.blockSignals(False)
|
||||||
if not change_focus:
|
if not change_focus:
|
||||||
return
|
return
|
||||||
# Change focus to input field and move cursor to the end
|
# Change focus to input field and move cursor to the end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue