mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Update Main.cs
This commit is contained in:
parent
52252453d9
commit
89f0cdffc7
1 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ namespace Wox.Plugin.WebSearch
|
||||||
public const string Images = "Images";
|
public const string Images = "Images";
|
||||||
public static string ImagesDirectory;
|
public static string ImagesDirectory;
|
||||||
|
|
||||||
private readonly string SystemPluginSearchSourceWildCardSign = "*";
|
private readonly string SearchSourceGlobalPluginWildCardSign = "*";
|
||||||
|
|
||||||
public void Save()
|
public void Save()
|
||||||
{
|
{
|
||||||
|
|
@ -38,7 +38,7 @@ namespace Wox.Plugin.WebSearch
|
||||||
|
|
||||||
var searchSourceList = new List<SearchSource>();
|
var searchSourceList = new List<SearchSource>();
|
||||||
|
|
||||||
_settings.SearchSources.Where(o => (o.ActionKeyword == query.ActionKeyword || o.ActionKeyword == SystemPluginSearchSourceWildCardSign)
|
_settings.SearchSources.Where(o => (o.ActionKeyword == query.ActionKeyword || o.ActionKeyword == SearchSourceGlobalPluginWildCardSign)
|
||||||
&& o.Enabled)
|
&& o.Enabled)
|
||||||
.ToList()
|
.ToList()
|
||||||
.ForEach(x => searchSourceList.Add(x));
|
.ForEach(x => searchSourceList.Add(x));
|
||||||
|
|
@ -168,4 +168,4 @@ namespace Wox.Plugin.WebSearch
|
||||||
|
|
||||||
public event ResultUpdatedEventHandler ResultsUpdated;
|
public event ResultUpdatedEventHandler ResultsUpdated;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue