diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2009-11-07 12:21:25 +0100 |
|---|---|---|
| committer | thedoc <thedoc@atom.(none)> | 2009-12-23 11:35:22 +0100 |
| commit | ab069c3dbe84a06e5cfa4c1f5c196690d53fa9a2 (patch) | |
| tree | 52b94944ade716cce8c809eb16e99f5e61ac3707 /lib/python/Screens | |
| parent | d87634a81b24586b49adeab2f62a40e15f8e863a (diff) | |
| download | enigma2-ab069c3dbe84a06e5cfa4c1f5c196690d53fa9a2.tar.gz enigma2-ab069c3dbe84a06e5cfa4c1f5c196690d53fa9a2.zip | |
fixes bug #280
don't allow scanning on a nim configured as advanced with no LNB assigned to any sat
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/ScanSetup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/python/Screens/ScanSetup.py b/lib/python/Screens/ScanSetup.py index bea08724..fa787a70 100644 --- a/lib/python/Screens/ScanSetup.py +++ b/lib/python/Screens/ScanSetup.py @@ -524,6 +524,8 @@ class ScanSetup(ConfigListScreen, Screen, CableTransponderSearchSupport): for n in nimmanager.nim_slots: if n.config_mode == "nothing": continue + if n.config_mode == "advanced" and len(nimmanager.getSatListForNim(n.slot)) < 1: + continue if n.config_mode in ("loopthrough", "satposdepends"): root_id = nimmanager.sec.getRoot(n.slot_id, int(n.config.connectedTo.value)) if n.type == nimmanager.nim_slots[root_id].type: # check if connected from a DVB-S to DVB-S2 Nim or vice versa |
