mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 12:54:40 +01:00
skip filtering if items that are not tasks
This commit is contained in:
parent
0f974c1352
commit
c4c609432b
1 changed files with 1 additions and 1 deletions
|
|
@ -363,7 +363,7 @@ class TasksProxyModel(QtCore.QSortFilterProxyModel):
|
|||
return False
|
||||
source_index = self.sourceModel().index(row, 0, parent_index)
|
||||
task_id = source_index.data(ITEM_ID_ROLE)
|
||||
if task_id not in self._task_ids_filter:
|
||||
if task_id is not None and task_id not in self._task_ids_filter:
|
||||
return False
|
||||
return super().filterAcceptsRow(row, parent_index)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue