PluginComponent.py: remove unneeded sort (fixes crash on Menu button press)
authorghost <andreas.monzner@multimedia-labs.de>
Fri, 4 Mar 2011 09:04:03 +0000 (10:04 +0100)
committerghost <andreas.monzner@multimedia-labs.de>
Fri, 4 Mar 2011 09:04:25 +0000 (10:04 +0100)
lib/python/Components/PluginComponent.py

index a713c3b..c6ad584 100755 (executable)
@@ -129,7 +129,6 @@ class PluginComponent:
                res = [ ]
                for p in self.getPlugins(PluginDescriptor.WHERE_MENU):
                        res += p(menuid)
-               res.sort(key=lambda x:x.weight)
                return res
 
        def clearPluginList(self):