X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/d0380b44396cbcd497f42eb0047b58b309596007..61111fab026bb61d70ffcf74c36e51da56aa7ad2:/lib/python/Components/PluginComponent.py diff --git a/lib/python/Components/PluginComponent.py b/lib/python/Components/PluginComponent.py index 93b08900..c6ad584f 100755 --- a/lib/python/Components/PluginComponent.py +++ b/lib/python/Components/PluginComponent.py @@ -122,8 +122,8 @@ class PluginComponent: for x in where: res.extend(self.plugins.get(x, [ ])) - - return res + res.sort(key=lambda x:x.weight) + return res def getPluginsForMenu(self, menuid): res = [ ]