git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add parental control setup to the start wizard
[enigma2.git]
/
lib
/
python
/
Components
/
MenuList.py
diff --git
a/lib/python/Components/MenuList.py
b/lib/python/Components/MenuList.py
index b1b115b7230aa6a9ebe1d6041b08e2f335f212a4..708757474af99034b9cefb72502e733fe314bd71 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)