From fb298c769ccf5cb29f8461cbef280c969c8f6e26 Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Thu, 25 Aug 2005 22:55:25 +0000 Subject: - add config slider --- lib/python/Screens/Setup.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/python/Screens/Setup.py') diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index 9f65daaa..de27ff5e 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -42,7 +42,11 @@ class Setup(Screen): if b == "": continue #add to configlist - list.append( (ItemText, b.controlType(b) ) ) + item = b.controlType(b) + + # the first b is the item itself, ignored by the configList. + # the second one is converted to string. + list.append( (ItemText, item) ) def keyOk(self): self["config"].handleKey(0) -- cgit v1.2.3