diff --git a/qutebrowser/models/completionfilter.py b/qutebrowser/models/completionfilter.py index 8243c2752..df26ad97b 100644 --- a/qutebrowser/models/completionfilter.py +++ b/qutebrowser/models/completionfilter.py @@ -58,12 +58,13 @@ class CompletionFilterModel(QSortFilterProxyModel): val: The value to set. """ self.pattern = val - self.invalidate() + self.invalidateFilter() sortcol = 0 try: self.srcmodel.sort(sortcol) except NotImplementedError: self.sort(sortcol) + self.invalidate() def count(self): """Get the count of non-toplevel items currently visible.