fix inverted setting (meaning was inverted too)
[enigma2.git] / lib / python / Components / MenuList.py
index 6fb3354..03e6be6 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()