mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
just pop children in clear part
This commit is contained in:
parent
cdcb1fd04a
commit
c0187f9aa5
1 changed files with 2 additions and 2 deletions
|
|
@ -539,7 +539,7 @@ class DictMutableKeysEntity(EndpointEntity):
|
|||
|
||||
# Simulate `clear` method without triggering value change
|
||||
for key in tuple(self.children_by_key.keys()):
|
||||
child_obj = self.children_by_key.pop(key)
|
||||
self.children_by_key.pop(key)
|
||||
|
||||
# Create new children
|
||||
for _key, _value in new_value.items():
|
||||
|
|
@ -577,7 +577,7 @@ class DictMutableKeysEntity(EndpointEntity):
|
|||
|
||||
# Simulate `clear` method without triggering value change
|
||||
for key in tuple(self.children_by_key.keys()):
|
||||
child_obj = self.children_by_key.pop(key)
|
||||
self.children_by_key.pop(key)
|
||||
|
||||
# Create new children
|
||||
for _key, _value in new_value.items():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue