Skip to content

Commit 7fc7045

Browse files
authored
Fix autocomplete on Program plugin (#1850)
* Fix autocomplete on Program plugin * Code refactor
1 parent 000ca23 commit 7fc7045

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Plugins/Flow.Launcher.Plugin.Program/Programs/UWP.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -408,6 +408,7 @@ public Result Result(string query, IPublicAPI api)
408408
var result = new Result
409409
{
410410
Title = title,
411+
AutoCompleteText = Name,
411412
SubTitle = Main._settings.HideAppsPath ? string.Empty : Location,
412413
IcoPath = LogoPath,
413414
Preview = new Result.PreviewInfo

Plugins/Flow.Launcher.Plugin.Program/Programs/Win32.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ public Result Result(string query, IPublicAPI api)
155155
var result = new Result
156156
{
157157
Title = title,
158+
AutoCompleteText = resultName,
158159
SubTitle = subtitle,
159160
IcoPath = IcoPath,
160161
Score = matchResult.Score,

0 commit comments

Comments
 (0)