mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[PTRun]Don't show results from other plugins when using keyword (#19206)
This commit is contained in:
committed by
GitHub
parent
8e2570033c
commit
996a235e12
@@ -60,8 +60,8 @@ namespace Community.PowerToys.Run.Plugin.WebSearch
|
||||
|
||||
var results = new List<Result>();
|
||||
|
||||
// empty non-global query:
|
||||
if (!AreResultsGlobal() && query.ActionKeyword == query.RawQuery)
|
||||
// empty query
|
||||
if (string.IsNullOrEmpty(query.Search))
|
||||
{
|
||||
string arguments = "? ";
|
||||
results.Add(new Result
|
||||
@@ -84,8 +84,7 @@ namespace Community.PowerToys.Run.Plugin.WebSearch
|
||||
});
|
||||
return results;
|
||||
}
|
||||
|
||||
if (!string.IsNullOrEmpty(query.Search))
|
||||
else
|
||||
{
|
||||
string searchTerm = query.Search;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user