add parental control setup to the start wizard
[enigma2.git] / lib / python / Components / MenuList.py
index b1b115b7230aa6a9ebe1d6041b08e2f335f212a4..708757474af99034b9cefb72502e733fe314bd71 100644 (file)
@@ -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)