summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2014-08-25 13:34:34 +0200
committerFlorent Le Coz <louiz@louiz.org>2014-08-25 13:34:34 +0200
commit07c4c53e03e06e0163ff2b5f5733fda7bd19d150 (patch)
tree3505def22b7055a2a5f18d93e768e2d731724ab5 /src
parent2e73331d073e074439431fce7d55f566ee4fe269 (diff)
downloadpoezio-07c4c53e03e06e0163ff2b5f5733fda7bd19d150.tar.gz
poezio-07c4c53e03e06e0163ff2b5f5733fda7bd19d150.tar.bz2
poezio-07c4c53e03e06e0163ff2b5f5733fda7bd19d150.tar.xz
poezio-07c4c53e03e06e0163ff2b5f5733fda7bd19d150.zip
Clear the numbers already entered on alt+j when the new one is not digit
Diffstat (limited to 'src')
-rw-r--r--src/core/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/core.py b/src/core/core.py
index f4da11d0..eeb25c83 100644
--- a/src/core/core.py
+++ b/src/core/core.py
@@ -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: