Replace leftover _named_filter with _filter_func

This commit is contained in:
RumovZ 2021-01-30 17:39:21 +01:00
parent 9e9d8b9c7a
commit 375794893f

View File

@ -980,7 +980,7 @@ QTableView {{ gridline-color: {grid} }}
ml.addSeparator()
else:
label, filter_name = row
ml.addItem(label, self.sidebar._named_filter(filter_name))
ml.addItem(label, self.sidebar._filter_func(filter_name))
return ml
def _todayFilters(self):