Update code after refactor, and add migration

This commit is contained in:
Martin Tournoij 2015-06-05 16:52:33 +02:00
parent a7b10a090f
commit dfada850e0
2 changed files with 3 additions and 1 deletions

View File

@ -1354,4 +1354,6 @@ CHANGED_KEY_COMMANDS = [
(re.compile(r'^scroll 0 -50$'), r'scroll up'),
(re.compile(r'^scroll 50 0$'), r'scroll right'),
(re.compile(r'^scroll ([-\d]+ [-\d]+)$'), r'scroll-px \1'),
(re.compile(r'^search$'), r'search ;; clear-keychain'),
]

View File

@ -321,4 +321,4 @@ class ModeManager(QObject):
@cmdutils.register(instance='mode-manager', scope='window', hide=True)
def clear_keychain(self):
"""Clear the currently entered key chain."""
self._handlers[self.mode].__self__.clear_keystring()
self._parsers[self.mode].clear_keystring()