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 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) |
