add videowizard
[enigma2.git] / lib / python / Screens / InputBox.py
index 55334d2f7f2c00e6dd38920b8bb0a770fffb3135..fe21ea0ab5136185f7d2d0b4c5dcb5020584dcc0 100644 (file)
@@ -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)