mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-01-19 06:53:26 +08:00
[PT Run][Registry] show no results on query fail (#13244)
This commit is contained in:
parent
323f41d14b
commit
6bd0840863
@ -104,7 +104,8 @@ namespace Microsoft.PowerToys.Run.Plugin.Registry.Helper
|
||||
|
||||
if (result.Count == 0)
|
||||
{
|
||||
return FindSubKey(subKey, string.Empty);
|
||||
// If a subKey can't be found, show no results.
|
||||
break;
|
||||
}
|
||||
|
||||
if (result.Count == 1 && index < subKeysNames.Length)
|
||||
|
Loading…
Reference in New Issue
Block a user