should restart the timer if BS is pressed but buffer is non-zero
This commit is contained in:
parent
d5d2ce6abc
commit
96d1cb866b
|
@ -85,6 +85,8 @@ class KeypadListener:
|
||||||
self._buf = self._buf[:-1]
|
self._buf = self._buf[:-1]
|
||||||
if self._buf == '':
|
if self._buf == '':
|
||||||
self._stopResetTimer()
|
self._stopResetTimer()
|
||||||
|
else:
|
||||||
|
self._startResetTimer()
|
||||||
backspaceSound.play()
|
backspaceSound.play()
|
||||||
|
|
||||||
# reset buffer
|
# reset buffer
|
||||||
|
|
Loading…
Reference in New Issue