Simplify further

This commit is contained in:
Roy Nieterau 2024-03-25 15:20:12 +01:00
parent 910c79f886
commit e735c5dc72

View file

@ -513,12 +513,6 @@ class FilterProxyModel(QtCore.QSortFilterProxyModel):
"""
def outdated(node):
version = node.get("version", None)
# Always allow indices that have no version data at all
if version is None:
return True
return node.get("isOutdated", True)
index = self.sourceModel().index(row, self.filterKeyColumn(), parent)