From a27631694342ad6f77090743b5affddef5e155e0 Mon Sep 17 00:00:00 2001 From: Stefan Pluecken Date: Mon, 16 Oct 2006 22:37:46 +0000 Subject: add parental control setup to the start wizard --- lib/python/Components/MenuList.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/python/Components/MenuList.py') 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) -- cgit v1.2.3