mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 10:46:33 +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
@@ -1,9 +1,8 @@
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// Copyright (c) Microsoft Corporation
|
||||
// The Microsoft Corporation licenses this file to you under the MIT license.
|
||||
// See the LICENSE file in the project root for more information.
|
||||
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Mono.Collections.Generic;
|
||||
|
||||
@@ -58,7 +57,7 @@ namespace Wox.Plugin
|
||||
{
|
||||
if (_search == null)
|
||||
{
|
||||
_search = RawQuery.Substring(ActionKeyword.Length).Trim();
|
||||
_search = RawQuery.Substring(ActionKeyword?.Length ?? 0).Trim();
|
||||
}
|
||||
|
||||
return _search;
|
||||
|
||||
Reference in New Issue
Block a user