projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '32bpp_rgba_png_support' into experimental
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
Input.py
diff --git
a/lib/python/Components/Input.py
b/lib/python/Components/Input.py
index
3c09ab9
..
4d3c8a1
100644
(file)
--- a/
lib/python/Components/Input.py
+++ b/
lib/python/Components/Input.py
@@
-116,7
+116,7
@@
class Input(VariableText, HTMLComponent, GUIComponent, NumericalTextInput):
self.allmarked = False
if self.type == self.TEXT:
self.timeout()
self.allmarked = False
if self.type == self.TEXT:
self.timeout()
- if self.Text[self.currPos] == "9" or self.Text[self.currPos] == " ":
+ if self.
currPos == len(self.Text) or self.
Text[self.currPos] == "9" or self.Text[self.currPos] == " ":
newNumber = "0"
else:
newNumber = str(int(self.Text[self.currPos]) + 1)
newNumber = "0"
else:
newNumber = str(int(self.Text[self.currPos]) + 1)
@@
-127,7
+127,7
@@
class Input(VariableText, HTMLComponent, GUIComponent, NumericalTextInput):
self.allmarked = False
if self.type == self.TEXT:
self.timeout()
self.allmarked = False
if self.type == self.TEXT:
self.timeout()
- if self.Text[self.currPos] == "0" or self.Text[self.currPos] == " ":
+ if self.
currPos == len(self.Text) or self.
Text[self.currPos] == "0" or self.Text[self.currPos] == " ":
newNumber = "9"
else:
newNumber = str(int(self.Text[self.currPos]) - 1)
newNumber = "9"
else:
newNumber = str(int(self.Text[self.currPos]) - 1)