projects
/
vuplus_dvbapp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add auto vcr switching support (needs new drivers (fp.ko))
[vuplus_dvbapp]
/
lib
/
python
/
Components
/
MenuList.py
diff --git
a/lib/python/Components/MenuList.py
b/lib/python/Components/MenuList.py
index
b1b115b
..
7087574
100644
(file)
--- a/
lib/python/Components/MenuList.py
+++ b/
lib/python/Components/MenuList.py
@@
-30,6
+30,9
@@
class MenuList(HTMLComponent, GUIComponent):
for f in self.onSelectionChanged:
f()
+ def getSelectedIndex(self):
+ return self.l.getCurrentSelectionIndex()
+
def setList(self, list):
self.list = list
self.l.setList(self.list)