primitivus: EditBar doesn't propagate key pressed anymore if it manage a 'up' or 'down' event (history event)
This commit is contained in:
parent
ab9b658e52
commit
399ac31e05
1 changed files with 2 additions and 0 deletions
|
|
@ -146,8 +146,10 @@ class EditBar(sat_widgets.ModalEdit):
|
|||
self.app._updateInputHistory(mode=self._modes[key][0])
|
||||
if key == "up":
|
||||
self.app._updateInputHistory(self.get_edit_text(), -1, history_cb, self.mode)
|
||||
return
|
||||
elif key == "down":
|
||||
self.app._updateInputHistory(self.get_edit_text(), +1, history_cb, self.mode)
|
||||
return
|
||||
elif key == "enter":
|
||||
self.app._updateInputHistory(self.get_edit_text(), mode=self.mode)
|
||||
else:
|
||||
|
|
|
|||
Loading…
Reference in a new issue