X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/c0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3..92456d9542585d58e011fa4f0b501de3ef9c1819:/lib/python/Components/MenuList.py 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)