primitivus: forgot to rename _historyCb method
This commit is contained in:
parent
c39333cd3f
commit
30ff971087
1 changed files with 2 additions and 2 deletions
|
|
@ -163,10 +163,10 @@ class EditBar(sat_widgets.ModalEdit):
|
|||
if self._mode == 'NORMAL' and key in self._modes:
|
||||
self.app._updateInputHistory(mode=self._modes[key][0])
|
||||
if key == a_key['HISTORY_PREV']:
|
||||
self.app._updateInputHistory(self.get_edit_text(), -1, self._history_cb, self.mode)
|
||||
self.app._updateInputHistory(self.get_edit_text(), -1, self._historyCb, self.mode)
|
||||
return
|
||||
elif key == a_key['HISTORY_NEXT']:
|
||||
self.app._updateInputHistory(self.get_edit_text(), +1, self._history_cb, self.mode)
|
||||
self.app._updateInputHistory(self.get_edit_text(), +1, self._historyCb, self.mode)
|
||||
return
|
||||
elif key == a_key['EDIT_ENTER']:
|
||||
self.app._updateInputHistory(self.get_edit_text(), mode=self.mode)
|
||||
|
|
|
|||
Loading…
Reference in a new issue