Update cursor part in on_text_edited

This commit is contained in:
Florian Bruhin 2014-06-02 14:37:57 +02:00
parent 962a83b592
commit 1bb757a39e

View File

@ -211,6 +211,7 @@ class Command(MinimalLineEdit):
def on_text_edited(self, text):
"""Slot for textEdited. Stop history and update completion."""
self.history.stop()
self._update_cursor_part()
self.update_completion.emit(self.prefix, self.parts,
self.cursor_part)