order InputChannel list.. (DVI, Scart, YPbPr)
[enigma2.git] / lib / python / Plugins / SystemPlugins / Videomode / VideoWizard.py
index b4223b5..cb64f9a 100644 (file)
@@ -62,6 +62,7 @@ class VideoWizard(Wizard):
                
                self.port = None
                self.mode = None
+               self.rate = None
                
                
        def createSummary(self):
@@ -78,6 +79,7 @@ class VideoWizard(Wizard):
                for port in self.hw.getPortList():
                        if self.hw.isPortUsed(port):
                                list.append((port,port))
+               list.sort(key = lambda x: x[0])
                print "listInputChannels:", list
                return list
 
@@ -135,6 +137,7 @@ class VideoWizard(Wizard):
        
        def rateSelectionMade(self, index):
                print "rateSelectionMade:", index
+               self.rate = index
                self.rateSelect(index)
                
        def rateSelectionMoved(self):