From: Andreas Monzner Date: Sat, 29 Mar 2008 12:12:39 +0000 (+0000) Subject: order InputChannel list.. (DVI, Scart, YPbPr) X-Git-Tag: 2.6.0~1396 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/788631e9d94a53a43fa127dcc2de4ce8fe05dca2 order InputChannel list.. (DVI, Scart, YPbPr) --- 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