Update cursor part in on_text_edited
This commit is contained in:
parent
962a83b592
commit
1bb757a39e
@ -211,6 +211,7 @@ class Command(MinimalLineEdit):
|
|||||||
def on_text_edited(self, text):
|
def on_text_edited(self, text):
|
||||||
"""Slot for textEdited. Stop history and update completion."""
|
"""Slot for textEdited. Stop history and update completion."""
|
||||||
self.history.stop()
|
self.history.stop()
|
||||||
|
self._update_cursor_part()
|
||||||
self.update_completion.emit(self.prefix, self.parts,
|
self.update_completion.emit(self.prefix, self.parts,
|
||||||
self.cursor_part)
|
self.cursor_part)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user