X-Git-Url: http://code.vuplus.com/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fpython%2FComponents%2FMenuList.py;h=708757474af99034b9cefb72502e733fe314bd71;hb=e03c732afb410b4d6b9f9540c36c33c941ee38f1;hp=b1b115b7230aa6a9ebe1d6041b08e2f335f212a4;hpb=c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3;p=vuplus_dvbapp diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py index b1b115b..7087574 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)