mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix missing query part when using global wildcard sign
when using global wildcard sign that is the same as action keyword
This commit is contained in:
parent
2d6d664f77
commit
4c0c9eb7fb
1 changed files with 5 additions and 4 deletions
|
|
@ -49,10 +49,11 @@ namespace Wox.Plugin.WebSearch
|
||||||
{
|
{
|
||||||
foreach (SearchSource searchSource in searchSourceList)
|
foreach (SearchSource searchSource in searchSourceList)
|
||||||
{
|
{
|
||||||
string keyword = query.Search;
|
string keyword = string.Empty;
|
||||||
string title = keyword;
|
keyword = searchSource.ActionKeyword == SearchSourceGlobalPluginWildCardSign ? query.ToString() : query.Search;
|
||||||
string subtitle = _context.API.GetTranslation("wox_plugin_websearch_search") + " " +
|
var title = keyword;
|
||||||
searchSource.Title;
|
string subtitle = _context.API.GetTranslation("wox_plugin_websearch_search") + " " + searchSource.Title;
|
||||||
|
|
||||||
if (string.IsNullOrEmpty(keyword))
|
if (string.IsNullOrEmpty(keyword))
|
||||||
{
|
{
|
||||||
var result = new Result
|
var result = new Result
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue