diff options
Diffstat (limited to 'lib/python/Components/MenuList.py')
| -rw-r--r-- | lib/python/Components/MenuList.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/MenuList.py b/lib/python/Components/MenuList.py index a7a68727..7fa1ae97 100644 --- a/lib/python/Components/MenuList.py +++ b/lib/python/Components/MenuList.py @@ -4,10 +4,10 @@ from GUIComponent import GUIComponent from enigma import eListboxPythonStringContent, eListbox class MenuList(HTMLComponent, GUIComponent): - def __init__(self, list, enableWrapAround=False, content=eListboxPythonStringContent()): + def __init__(self, list, enableWrapAround=False, content=eListboxPythonStringContent): GUIComponent.__init__(self) self.list = list - self.l = content + self.l = content() self.l.setList(self.list) self.onSelectionChanged = [ ] self.enableWrapAround = enableWrapAround |
