aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components')
-rw-r--r--lib/python/Components/MenuList.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py
index 6fb33540..03e6be6d 100644
--- a/lib/python/Components/MenuList.py
+++ b/lib/python/Components/MenuList.py
@@ -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()