mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-07 03:36:44 +02:00
Add pluginID for result.
This commit is contained in:
@@ -29,7 +29,11 @@ namespace Wox.Core.Plugin.QueryDispatcher
|
||||
try
|
||||
{
|
||||
List<Result> results = regularPlugin.Plugin.Query(query) ?? new List<Result>();
|
||||
PluginManager.API.PushResults(query,regularPlugin.Metadata,results);
|
||||
results.ForEach(o =>
|
||||
{
|
||||
o.PluginID = regularPlugin.Metadata.ID;
|
||||
});
|
||||
PluginManager.API.PushResults(query, regularPlugin.Metadata, results);
|
||||
}
|
||||
catch (System.Exception e)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user