From 7e6f5cba9756abef94d02d2f24601b1793f24f4e Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Fri, 15 Feb 2008 16:04:45 +0000 Subject: [PATCH] add missing function --- lib/python/Components/MenuList.py | 3 +++ 1 file changed, 3 insertions(+) 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() -- 2.30.2