git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
user predefined vars instead of integers for keyhandling in Config
[enigma2.git]
/
lib
/
python
/
Screens
/
Setup.py
diff --git
a/lib/python/Screens/Setup.py
b/lib/python/Screens/Setup.py
index cb2685804652dfa11adb8a08694a7ac29a4284ab..e2e55974bf524b967f72a2261adf1f0cf4965e83 100644
(file)
--- a/
lib/python/Screens/Setup.py
+++ b/
lib/python/Screens/Setup.py
@@
-51,11
+51,11
@@
class Setup(Screen):
list.append( (ItemText, item) )
def keyOk(self):
list.append( (ItemText, item) )
def keyOk(self):
- self["config"].handleKey(
0
)
+ self["config"].handleKey(
config.choseElement
)
def keyLeft(self):
def keyLeft(self):
- self["config"].handleKey(
1
)
+ self["config"].handleKey(
config.prevElement
)
def keyRight(self):
def keyRight(self):
- self["config"].handleKey(
2
)
+ self["config"].handleKey(
config.nextElement
)
def keySave(self):
print "save requested"
def keySave(self):
print "save requested"