Clear the numbers already entered on alt+j when the new one is not digit

This commit is contained in:
Florent Le Coz 2014-08-25 13:34:34 +02:00
parent 2e73331d07
commit 07c4c53e03

View file

@ -1083,7 +1083,7 @@ class Core(object):
# If it is not a number, we do nothing. If it was the first
# one, we do not wait for a second one by re-setting the
# callback
pass
self.room_number_jump.clear()
else:
self.room_number_jump.append(digit)
if len(self.room_number_jump) == 2: