diff options
| author | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-15 16:04:45 +0000 |
|---|---|---|
| committer | Andreas Monzner <andreas.monzner@multimedia-labs.de> | 2008-02-15 16:04:45 +0000 |
| commit | 7e6f5cba9756abef94d02d2f24601b1793f24f4e (patch) | |
| tree | eca35763a889f5be5f5175631bf18b7ed92f2bd5 /lib/python/Components | |
| parent | 7805b1294a0616aa0be1f43ddcf148037e9a1c51 (diff) | |
| download | enigma2-7e6f5cba9756abef94d02d2f24601b1793f24f4e.tar.gz enigma2-7e6f5cba9756abef94d02d2f24601b1793f24f4e.zip | |
add missing function
Diffstat (limited to 'lib/python/Components')
| -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() |
