This commit is contained in:
bao-qian
2015-11-02 22:15:06 +00:00
parent 86da8cbd17
commit cd0d9052e8
2 changed files with 3 additions and 3 deletions

View File

@@ -229,7 +229,7 @@ namespace Wox.Core.Plugin
public static IEnumerable<PluginPair> GetPlugins<T>() where T : IFeatures
{
return from p in AllPlugins where p.Plugin is T select p;
return AllPlugins.Where(p => p.Plugin is T);
}
private static PluginPair GetExclusivePlugin(Query query)