aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Input.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-03 02:00:18 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-03-03 02:00:18 +0000
commit13e74ce7d8fcccc12bed3ce65c4f35987f206799 (patch)
tree8e66040d566caf1fe177098af5aa8c0200b4f6e0 /lib/python/Components/Input.py
parent4cdb4528bbff583dc193f24508157e96a0d95c59 (diff)
downloadenigma2-13e74ce7d8fcccc12bed3ce65c4f35987f206799.tar.gz
enigma2-13e74ce7d8fcccc12bed3ce65c4f35987f206799.zip
delete characters in the InputBox with mute key
Diffstat (limited to 'lib/python/Components/Input.py')
-rw-r--r--lib/python/Components/Input.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Components/Input.py b/lib/python/Components/Input.py
index f1a17d90..a3ab764e 100644
--- a/lib/python/Components/Input.py
+++ b/lib/python/Components/Input.py
@@ -69,6 +69,10 @@ class Input(HTMLComponent, GUIComponent, VariableText):
self.text = self.text[0:self.currPos] + newNumber + self.text[self.currPos + 1:]
self.update()
+ def delete(self):
+ self.text = self.text[:self.currPos] + self.text[self.currPos + 1:]
+ self.update()
+
def number(self, number):
if self.type == self.TEXT:
newChar = self.numericalTextInput.getKey(number)