X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/aa3e781f31a04223416f0a34b25ab95fc0bef429..01f6932815a6a21ab46bb420be093685378b43dd:/lib/python/Components/MenuList.py diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py index 90cd3286..03e6be6d 100644 --- a/lib/python/Components/MenuList.py +++ b/lib/python/Components/MenuList.py @@ -6,13 +6,14 @@ from enigma import eListboxPythonStringContent, eListbox class MenuList(HTMLComponent, GUIComponent): def __init__(self, list): GUIComponent.__init__(self) + self.list = list self.l = eListboxPythonStringContent() - self.l.setList(list) + self.l.setList(self.list) def getCurrent(self): return self.l.getCurrentSelection() - def GUIcreate(self, parent, skindata): + def GUIcreate(self, parent): self.instance = eListbox(parent) self.instance.setContent(self.l)