diff --git a/qutebrowser/widgets/completion.py b/qutebrowser/widgets/completion.py index aadd1ba02..31e8e4a6c 100644 --- a/qutebrowser/widgets/completion.py +++ b/qutebrowser/widgets/completion.py @@ -235,7 +235,7 @@ class CompletionView(QTreeView): pattern = parts[-1] if parts else '' self._model.pattern = pattern - self._model.srcmodel.mark_all_items(text) + self._model.srcmodel.mark_all_items(pattern) if self._enabled: self.show()