aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/MenuList.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-15 16:04:45 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2008-02-15 16:04:45 +0000
commit7e6f5cba9756abef94d02d2f24601b1793f24f4e (patch)
treeeca35763a889f5be5f5175631bf18b7ed92f2bd5 /lib/python/Components/MenuList.py
parent7805b1294a0616aa0be1f43ddcf148037e9a1c51 (diff)
downloadenigma2-7e6f5cba9756abef94d02d2f24601b1793f24f4e.tar.gz
enigma2-7e6f5cba9756abef94d02d2f24601b1793f24f4e.zip
add missing function
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 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()