Revert "Remove unneeded invalidateFilter call."
This reverts commit b5781f0ed3
.
For some reason this did break the "completion->shrink" setting.
Closes #204.
Makes #190 a bit worse again though.
Conflicts:
qutebrowser/models/completionfilter.py
This commit is contained in:
parent
0a5cee6ea2
commit
a6f1bf29ae
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user