X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e6c11dc8aed12ed11dcdcba98a14071308e33e0d..6e4252048719916fbe136dbe2a22eea0bbac9a7e:/lib/python/Screens/Satconfig.py diff --git a/lib/python/Screens/Satconfig.py b/lib/python/Screens/Satconfig.py index 37208cdc..ccb776ea 100644 --- a/lib/python/Screens/Satconfig.py +++ b/lib/python/Screens/Satconfig.py @@ -62,8 +62,8 @@ class NimSetup(Screen, ConfigListScreen): choices["satposdepends"] = _("second cable of motorized LNB") if len(nimmanager.canConnectTo(self.slotid)) > 0: choices["loopthrough"] = _("loopthrough to") - self.nimConfig.configMode.setChoices(choices) - + self.nimConfig.configMode.setChoices(choices, default = "nothing") + def createSetup(self): print "Creating setup" self.list = [ ] @@ -214,7 +214,7 @@ class NimSetup(Screen, ConfigListScreen): self.list.append(getConfigListEntry(_("Voltage mode"), Sat.voltage)) self.list.append(getConfigListEntry(_("Tone mode"), Sat.tonemode)) if currLnb and currLnb.diseqcMode.value == "1_2": - if lnbnum < 125: + if lnbnum < 33: self.advancedUsalsEntry = getConfigListEntry(_("Use usals for this sat"), Sat.usals) self.list.append(self.advancedUsalsEntry) if not Sat.usals.value: @@ -224,7 +224,7 @@ class NimSetup(Screen, ConfigListScreen): self.advancedLnbsEntry = getConfigListEntry(_("LNB"), Sat.lnb) self.list.append(self.advancedLnbsEntry) if currLnb: - if lnbnum < 125: + if lnbnum < 33: self.advancedDiseqcMode = getConfigListEntry(_("DiSEqC mode"), currLnb.diseqcMode) self.list.append(self.advancedDiseqcMode) if currLnb.diseqcMode.value != "none":