X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e3cf5b5fa950fc14a6a48b75cec28c8f95553aeb..6c0ec8f6048840e6107b9453d36fbe3befd46817:/lib/python/Screens/Setup.py diff --git a/lib/python/Screens/Setup.py b/lib/python/Screens/Setup.py index 1f262e32..3439954d 100644 --- a/lib/python/Screens/Setup.py +++ b/lib/python/Screens/Setup.py @@ -1,6 +1,6 @@ from Screen import Screen from Components.ActionMap import NumberActionMap -from Components.config import config +from Components.config import config, ConfigNothing from Components.ConfigList import ConfigListScreen from Components.Label import Label from Components.Pixmap import Pixmap @@ -138,7 +138,8 @@ class Setup(ConfigListScreen, Screen): item = b # the first b is the item itself, ignored by the configList. # the second one is converted to string. - list.append( (item_text, item) ) + if not isinstance(item, ConfigNothing): + list.append( (item_text, item) ) def getSetupTitle(id): xmldata = setupdom.childNodes[0].childNodes