From 89bd255be11b0e1d6e4671bdc3a6829d80357ea3 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 4 Feb 2014 18:37:54 +0100 Subject: [PATCH] Set _pattern (not pattern) in filter model __init__ --- qutebrowser/utils/completion.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qutebrowser/utils/completion.py b/qutebrowser/utils/completion.py index da48586ae..ce68d81d6 100644 --- a/qutebrowser/utils/completion.py +++ b/qutebrowser/utils/completion.py @@ -280,7 +280,7 @@ class CompletionFilterModel(QSortFilterProxyModel): def __init__(self, parent=None): super().__init__(parent) - self.pattern = '' + self._pattern = '' @property def pattern(self):