From: Andreas Monzner Date: Fri, 15 Feb 2008 16:04:45 +0000 (+0000) Subject: add missing function X-Git-Tag: 2.6.0~1531 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/7e6f5cba9756abef94d02d2f24601b1793f24f4e add missing function --- diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py index 8e083c9c..a7a68727 100644 --- a/lib/python/Components/MenuList.py +++ b/lib/python/Components/MenuList.py @@ -31,6 +31,9 @@ class MenuList(HTMLComponent, GUIComponent): for f in self.onSelectionChanged: f() + def getSelectionIndex(self): + return self.l.getCurrentSelectionIndex() + def getSelectedIndex(self): return self.l.getCurrentSelectionIndex()