PluginComponent.py: remove unneeded sort (fixes crash on Menu button press)
authorghost <[email protected]>
Fri, 4 Mar 2011 09:04:03 +0000 (10:04 +0100)
committerghost <[email protected]>
Wed, 9 Mar 2011 13:38:28 +0000 (14:38 +0100)
lib/python/Components/PluginComponent.py

index a713c3b42dd721d4664c70743a5532db7c81d664..c6ad584f328f778c05d2ebaba77539695f69c4c9 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):