do not let the user leave the parental control setup when setup protection
[enigma2.git] / lib / python / Screens / ScanSetup.py
index 81985a83a06eaea51725e8373372cffb62ec91d0..f9c25c700ab8a1db00ebb5d603dc266ea9d214f4 100644 (file)
@@ -188,10 +188,10 @@ class ScanSetup(ConfigListScreen, Screen):
                        self.list.append(self.typeOfScanEntry)
 
                if nimmanager.getNimType(self.scan_nims.index) == nimmanager.nimType["DVB-S"]:
-
                        if self.scan_type.value == "single_transponder":
-#                              self.systemEntry = getConfigListEntry(_('Transpondertype'), self.scan_sat.system)
-#                              self.list.append(self.systemEntry)
+                               if nimmanager.getNimName(self.scan_nims.index).find("DVB-S2") != -1:
+                                       self.systemEntry = getConfigListEntry(_('Transpondertype'), self.scan_sat.system)
+                                       self.list.append(self.systemEntry)
                                self.list.append(getConfigListEntry(_('Satellite'), self.scan_satselection[self.scan_nims.index]))
                                self.list.append(getConfigListEntry(_('Frequency'), self.scan_sat.frequency))
                                self.list.append(getConfigListEntry(_('Inversion'), self.scan_sat.inversion))