mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-26 13:52:15 +01:00
trigger hierarchical_style_update instead of triggering update_style for each item
This commit is contained in:
parent
8f4a7138e5
commit
c954fafeb0
1 changed files with 1 additions and 6 deletions
|
|
@ -1986,12 +1986,7 @@ class DictInvisible(QtWidgets.QWidget, ConfigObject):
|
|||
if self.is_group:
|
||||
if self.is_overidable:
|
||||
self._is_overriden = True
|
||||
# TODO update items
|
||||
if item is not None:
|
||||
is_overriden = self.is_overriden
|
||||
for _item in self.input_fields:
|
||||
if _item is not item:
|
||||
_item.update_style(is_overriden)
|
||||
self.hierarchical_style_update()
|
||||
|
||||
self.value_changed.emit(self)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue