aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MenuList.py
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-10-16 22:37:46 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2006-10-16 22:37:46 +0000
commita27631694342ad6f77090743b5affddef5e155e0 (patch)
tree8b43b8e765f21551c871d99b5191e9c6cb81a1f9 /lib/python/Components/MenuList.py
parentd30355fd9062e6333af64e64a9a4847ac76ed73e (diff)
downloadenigma2-a27631694342ad6f77090743b5affddef5e155e0.tar.gz
enigma2-a27631694342ad6f77090743b5affddef5e155e0.zip
add parental control setup to the start wizard
Diffstat (limited to 'lib/python/Components/MenuList.py')
-rw-r--r--lib/python/Components/MenuList.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index b1b115b7..70875747 100644
--- 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)