aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/InputBox.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Screens/InputBox.py')
-rw-r--r--lib/python/Screens/InputBox.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/python/Screens/InputBox.py b/lib/python/Screens/InputBox.py
index 55334d2f..fe21ea0a 100644
--- a/lib/python/Screens/InputBox.py
+++ b/lib/python/Screens/InputBox.py
@@ -108,6 +108,13 @@ class PinInput(InputBox):
self["tries"] = Label("")
self.onShown.append(self.showTries)
+ def gotAsciiCode(self):
+ if self["input"].currPos == len(self["input"]) - 1:
+ InputBox.gotAsciiCode(self)
+ self.go()
+ else:
+ InputBox.gotAsciiCode(self)
+
def keyNumberGlobal(self, number):
if self["input"].currPos == len(self["input"]) - 1:
InputBox.keyNumberGlobal(self, number)