fix lint
This commit is contained in:
parent
4caffccca6
commit
ed032ea107
@ -71,8 +71,8 @@ class CompletionFilterModel(QSortFilterProxyModel):
|
||||
"""
|
||||
with debug.log_time(log.completion, 'Setting filter pattern'):
|
||||
self.pattern = val
|
||||
self.patternre = re.compile(re.escape(val.casefold())
|
||||
.replace(r'\ ', r'.*'))
|
||||
self.patternre = re.compile(re.escape(
|
||||
val.casefold()).replace(r'\ ', r'.*'))
|
||||
self.invalidateFilter()
|
||||
sortcol = 0
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user