update dm7080 hardware drivers (frontend / demux was broken in 20170409)
[opendreambox.git] / meta-opendreambox / recipes-dreambox / enigma2 / enigma2-4.3.1r1 / 0010-ScanSetup-reenable-network-scan-for-everybody.patch
1 From 2b08e90e1c48a3dd03f0b013f032dc05654d9956 Mon Sep 17 00:00:00 2001
2 From: Andreas Oberritter <obi@opendreambox.org>
3 Date: Wed, 29 Mar 2017 21:55:56 +0200
4 Subject: [PATCH] ScanSetup: reenable network scan for everybody
5
6 ---
7  usr/lib/enigma2/python/Screens/ScanSetup.py | 13 ++++++-------
8  1 file changed, 6 insertions(+), 7 deletions(-)
9
10 diff --git a/usr/lib/enigma2/python/Screens/ScanSetup.py b/usr/lib/enigma2/python/Screens/ScanSetup.py
11 index 8442bcf..ad1d00e 100644
12 --- a/usr/lib/enigma2/python/Screens/ScanSetup.py
13 +++ b/usr/lib/enigma2/python/Screens/ScanSetup.py
14 @@ -1404,13 +1404,12 @@ class ScanSetup(ConfigListScreen, Screen, TransponderSearchSupport, CableTranspo
15                                         self.list.append(getConfigListEntry(_("Code rate HP"), base_path.crh))
16                                         self.list.append(getConfigListEntry(_("Code rate LP"), base_path.crl))
17  
18 -               if len(self.scan_system.getChoices()) > 1:
19 -                       self.list.append(getConfigListEntry(_("Network scan"), self.scan_networkScan))
20 -                       self.list.append(getConfigListEntry(_("Clear before scan"), self.scan_clearallservices))
21 -                       self.list.append(getConfigListEntry(_("Only Free scan"), self.scan_onlyfree))
22 -                       if config.usage.setup_level.index >= 2:
23 -                               self.list.append(getConfigListEntry(_("Lookup other SDT"), self.scan_otherSDT))
24 -                               self.list.append(getConfigListEntry(_("Skip empty transponders"), self.scan_skipEmpty))
25 +               self.list.append(getConfigListEntry(_("Network scan"), self.scan_networkScan))
26 +               self.list.append(getConfigListEntry(_("Clear before scan"), self.scan_clearallservices))
27 +               self.list.append(getConfigListEntry(_("Only Free scan"), self.scan_onlyfree))
28 +               if config.usage.setup_level.index >= 2:
29 +                       self.list.append(getConfigListEntry(_("Lookup other SDT"), self.scan_otherSDT))
30 +                       self.list.append(getConfigListEntry(_("Skip empty transponders"), self.scan_skipEmpty))
31                 self["config"].list = self.list
32                 self["config"].l.setList(self.list)
33