mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-24 21:04:40 +01:00
Remove redundant logic
This commit is contained in:
parent
d6958ee4ec
commit
910c79f886
1 changed files with 0 additions and 8 deletions
|
|
@ -519,14 +519,6 @@ class FilterProxyModel(QtCore.QSortFilterProxyModel):
|
|||
if version is None:
|
||||
return True
|
||||
|
||||
# If either a version or highest is present but not the other
|
||||
# consider the item invalid.
|
||||
if not self._hierarchy_view:
|
||||
# Skip this check if in hierarchy view, or the child item
|
||||
# node will be hidden even it's actually outdated.
|
||||
if version is None:
|
||||
return False
|
||||
|
||||
return node.get("isOutdated", True)
|
||||
|
||||
index = self.sourceModel().index(row, self.filterKeyColumn(), parent)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue