fixes bug #258
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 6 Nov 2009 16:22:39 +0000 (17:22 +0100)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 6 Nov 2009 16:22:39 +0000 (17:22 +0100)
some beautification of PositionerSetup code regarding the ConfigSatlist sorting

lib/python/Plugins/SystemPlugins/PositionerSetup/plugin.py

index fa533c0..ea62550 100644 (file)
@@ -484,8 +484,8 @@ class TunerScreen(ScanSetup):
                self.updateTransponders()
 
        def updateTransponders(self):
                self.updateTransponders()
 
        def updateTransponders(self):
-               if len(tuning.sat.choices):
-                       transponderlist = nimmanager.getTransponders(int(tuning.sat.value))
+               if len(tuning.sat.satList):
+                       transponderlist = nimmanager.getTransponders(tuning.sat.orbital_position)
                        tps = []
                        cnt=0
                        for x in transponderlist:
                        tps = []
                        cnt=0
                        for x in transponderlist: