mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-02 00:44:52 +01:00
fix variable usage
This commit is contained in:
parent
6f68b95991
commit
2d4a2188f2
1 changed files with 1 additions and 1 deletions
|
|
@ -488,7 +488,7 @@ class HierarchyView(QtWidgets.QTreeView):
|
|||
# Collapse/Expand action
|
||||
show_collapse_expand_action = False
|
||||
for item_id in item_ids:
|
||||
item = items_by_id[item_ids[0]]
|
||||
item = items_by_id[item_id]
|
||||
item_type = item.data(ITEM_TYPE_ROLE)
|
||||
if item_type != "task":
|
||||
show_collapse_expand_action = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue