Fixed ghost text casing (#4498)

This commit is contained in:
Arjun Balgovind 2020-06-26 10:29:34 -07:00 committed by GitHub
parent bfd79e1af2
commit 403f53a397
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -279,7 +279,8 @@ namespace PowerLauncher
{ {
if (selectedItem.IndexOf(input, StringComparison.InvariantCultureIgnoreCase) == 0) if (selectedItem.IndexOf(input, StringComparison.InvariantCultureIgnoreCase) == 0)
{ {
return selectedItem; // Use the same case as the input query for the matched portion of the string
return input + selectedItem.Substring(input.Length);
} }
} }
} }