Strip pattern when completing.
This commit is contained in:
parent
f8dc2a9fb4
commit
b7c1f32922
@ -306,7 +306,7 @@ class Completer(QObject):
|
||||
return
|
||||
|
||||
try:
|
||||
pattern = self._parts[self._cursor_part] if self._parts else ''
|
||||
pattern = self._parts[self._cursor_part].strip()
|
||||
except IndexError:
|
||||
pattern = ''
|
||||
self._model().set_pattern(pattern)
|
||||
|
Loading…
Reference in New Issue
Block a user