Set _pattern (not pattern) in filter model __init__

This commit is contained in:
Florian Bruhin 2014-02-04 18:37:54 +01:00
parent 109522e43f
commit 89bd255be1

View File

@ -280,7 +280,7 @@ class CompletionFilterModel(QSortFilterProxyModel):
def __init__(self, parent=None):
super().__init__(parent)
self.pattern = ''
self._pattern = ''
@property
def pattern(self):