X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/56e40b4b0f436dc7d9214fd3a96a621c15bd9f10..6bdfaadd65fe35ba568799b0e42c54e5a95e27ed:/lib/python/Components/config.py diff --git a/lib/python/Components/config.py b/lib/python/Components/config.py index 42172021..c17e5aa1 100644 --- a/lib/python/Components/config.py +++ b/lib/python/Components/config.py @@ -188,6 +188,8 @@ class configSequenceArg: if (type == "IP"): return (("."), [(0,255),(0,255),(0,255),(0,255)], "") # configsequencearg.get ("MAC") + if (type == "POSITION"): + return ((","), [(0,args[0]),(0,args[1]),(0,args[2]),(0,args[3])], "") if (type == "MAC"): return ((":"), [(1,255),(1,255),(1,255),(1,255),(1,255),(1,255)], "") # configsequencearg.get ("CLOCK") @@ -614,7 +616,7 @@ def getConfigListEntry(description, element): item = b.controlType(b) return ((description, item)) -def configElementBoolean(name, default, texts=(_("Enable"), _("Disable"))): +def configElementBoolean(name, default, texts=(_("Disable"), _("Enable"))): return configElement(name, configSelection, default, texts) config.misc = ConfigSubsection()