- add separation lines to the ChoiceList component
[enigma2.git] / lib / python / Screens / ChoiceBox.py
index 50fd6c5172b6da259614d8c2a28067bb1536c24e..60aa5e10452fd9fa75e0594021fc8fee807fc60a 100644 (file)
@@ -24,7 +24,7 @@ class ChoiceBox(Screen):
                pos = 0
                for x in list:
                        strpos = str(self.keys[pos])
-                       self.list.append(ChoiceEntryComponent(strpos, x))
+                       self.list.append(ChoiceEntryComponent(key = strpos, text = x))
                        if self.keys[pos] != "":
                                self.keymap[self.keys[pos]] = list[pos]
                        pos += 1