mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
store initial value after setting value of children
This commit is contained in:
parent
37ac7247e1
commit
9b21fc8876
1 changed files with 2 additions and 1 deletions
|
|
@ -284,7 +284,6 @@ class DictMutableKeysEntity(ItemEntity):
|
|||
self.current_metadata = self.get_metadata_from_value(
|
||||
new_value, metadata
|
||||
)
|
||||
self.initial_value = self.settings_value()
|
||||
|
||||
# Simulate `clear` method without triggering value change
|
||||
for key in tuple(self.children_by_key.keys()):
|
||||
|
|
@ -303,6 +302,8 @@ class DictMutableKeysEntity(ItemEntity):
|
|||
|
||||
child_obj.set_override_state(state)
|
||||
|
||||
self.initial_value = self.settings_value()
|
||||
|
||||
@property
|
||||
def value(self):
|
||||
return self._current_value
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue