mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 08:54:53 +01:00
set state to newly created item
This commit is contained in:
parent
8537169c39
commit
06ab37ee68
1 changed files with 1 additions and 0 deletions
|
|
@ -965,6 +965,7 @@ class ListEntity(ItemEntity):
|
|||
|
||||
def add_new_item(self):
|
||||
child_obj = self.create_schema_object(self.item_schema, self, True)
|
||||
child_obj.set_override_state(self.override_state)
|
||||
self.children.append(child_obj)
|
||||
return child_obj
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue