git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
delete characters in the InputBox with mute key
[enigma2.git]
/
lib
/
python
/
Components
/
Input.py
diff --git
a/lib/python/Components/Input.py
b/lib/python/Components/Input.py
index f1a17d90b8f042453d18418a4c9ff9af4b648506..a3ab764e8840016b4e399e2c4ccc007750f0f429 100644
(file)
--- 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()
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)
def number(self, number):
if self.type == self.TEXT:
newChar = self.numericalTextInput.getKey(number)