diff options
Diffstat (limited to 'lib/python/Components/MenuList.py')
| -rw-r--r-- | lib/python/Components/MenuList.py | 3 |
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() |
