Add a FIXME for ambigious keys

This commit is contained in:
Florian Bruhin 2014-01-20 08:38:15 +01:00
parent 35dffad869
commit b5527c834b

View File

@ -39,6 +39,11 @@ class KeyParser(QObject):
if not cmdstr:
return
# FIXME this doesn't handle ambigious keys correctly.
#
# If a keychain is ambigious, we probably should set up a QTimer with a
# configurable timeout, which triggers cmd.run() when expiring. Then
# when we enter _handle() again in time we stop the timer.
try:
cmd = self.key_to_cmd[cmdstr]
except KeyError: