aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-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()