mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +01:00
[PT Run][Registry] show no results on query fail (#13244)
This commit is contained in:
@@ -104,7 +104,8 @@ namespace Microsoft.PowerToys.Run.Plugin.Registry.Helper
|
|||||||
|
|
||||||
if (result.Count == 0)
|
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)
|
if (result.Count == 1 && index < subKeysNames.Length)
|
||||||
|
|||||||
Reference in New Issue
Block a user