mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 17:04:54 +01:00
input items call on_change when on_value_change finish
This commit is contained in:
parent
741f44ce1a
commit
ea0671235c
2 changed files with 5 additions and 7 deletions
|
|
@ -57,6 +57,8 @@ class InputEntity(ItemEntity):
|
|||
elif self.override_state is OverrideState.STUDIO:
|
||||
self.has_studio_override = True
|
||||
|
||||
self.on_change()
|
||||
|
||||
def on_change(self):
|
||||
value_is_modified = None
|
||||
if self.override_state is OverrideState.PROJECT:
|
||||
|
|
|
|||
|
|
@ -201,14 +201,10 @@ class DictImmutableKeysEntity(ItemEntity):
|
|||
)
|
||||
|
||||
def on_change(self):
|
||||
# TODO implement
|
||||
pass
|
||||
self.parent.on_child_change(self)
|
||||
|
||||
def on_child_change(self, child_obj):
|
||||
# TODO implement
|
||||
print("{} on_child_change not yet implemented".format(
|
||||
self.__class__.__name__
|
||||
))
|
||||
def on_child_change(self, _child_obj):
|
||||
self.on_change()
|
||||
|
||||
def _add_children(self, schema_data, first=True):
|
||||
added_children = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue