add missing function
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 15 Feb 2008 16:04:45 +0000 (16:04 +0000)
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>
Fri, 15 Feb 2008 16:04:45 +0000 (16:04 +0000)
lib/python/Components/MenuList.py

index 8e083c9c782dc07a55f3d19b489ca69f8bfa52ec..a7a6872784768ef9efa28d1b7eecb79d1cca4bef 100644 (file)
@@ -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()