add ability to remove list and config from a wizard
[enigma2.git] / lib / python / Components / MenuList.py
index 6fb33540de20cf13491a60368dbc2977d3daafc9..03e6be6dcce65026bb74392a4ae920941be73df1 100644 (file)
@@ -6,8 +6,9 @@ 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()