mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
fixed modifiable dit
This commit is contained in:
parent
633195d3b1
commit
4af1c62473
1 changed files with 11 additions and 0 deletions
|
|
@ -2214,6 +2214,17 @@ class ModifiableDict(QtWidgets.QWidget, InputObject):
|
|||
|
||||
self.value_changed.emit(self)
|
||||
|
||||
@property
|
||||
def is_modified(self):
|
||||
is_modified = super(ModifiableDict, self).is_modified
|
||||
if is_modified:
|
||||
return is_modified
|
||||
|
||||
for input_field in self.input_fields:
|
||||
if input_field.is_modified:
|
||||
return True
|
||||
return False
|
||||
|
||||
def hierarchical_style_update(self):
|
||||
for input_field in self.input_fields:
|
||||
input_field.hierarchical_style_update()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue