mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
dict stores all direct children
This commit is contained in:
parent
c39ea2b654
commit
65cf4559d2
1 changed files with 3 additions and 0 deletions
|
|
@ -48,6 +48,7 @@ class DictImmutableKeysWidget(BaseWidget):
|
|||
self._ui_item_base()
|
||||
label = self.entity.label
|
||||
|
||||
self._direct_children_widgets = []
|
||||
self._parent_widget_by_entity_id = {}
|
||||
self._added_wrapper_ids = set()
|
||||
self._prepare_entity_layouts(
|
||||
|
|
@ -193,6 +194,8 @@ class DictImmutableKeysWidget(BaseWidget):
|
|||
self._added_wrapper_ids.add(wrapper.id)
|
||||
return
|
||||
|
||||
self._direct_children_widgets.append(widget)
|
||||
|
||||
row = self.content_layout.rowCount()
|
||||
if not label or isinstance(widget, WrapperWidget):
|
||||
self.content_layout.addWidget(widget, row, 0, 1, 2)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue