From 788631e9d94a53a43fa127dcc2de4ce8fe05dca2 Mon Sep 17 00:00:00 2001 From: Andreas Monzner Date: Sat, 29 Mar 2008 12:12:39 +0000 Subject: [PATCH] order InputChannel list.. (DVI, Scart, YPbPr) --- lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py index 0e67fb62..cb64f9ac 100644 --- a/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py +++ b/lib/python/Plugins/SystemPlugins/Videomode/VideoWizard.py @@ -79,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 -- 2.30.2