projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add parental control (still somehow buggy and some minor features missing... don...
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Input.py
diff --git
a/lib/python/Components/Input.py
b/lib/python/Components/Input.py
index
710ad0b
..
b30a74e
100644
(file)
--- a/
lib/python/Components/Input.py
+++ b/
lib/python/Components/Input.py
@@
-20,6
+20,9
@@
class Input(VariableText, HTMLComponent, GUIComponent, NumericalTextInput):
self.currPos = 0
self.overwrite = 0
self.setText(text)
+
+ def __len__(self):
+ return len(self.text)
def update(self):
self.setMarkedPos(self.currPos)