Skip to content

Commit bc28da7

Browse files
committed
fix result modifier not working
1 parent e5d95f3 commit bc28da7

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Flow.Launcher/ViewModel/MainViewModel.cs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,13 @@ private void AutocompleteQuery()
241241
}
242242
}
243243
[RelayCommand]
244-
private async Task OpenResult()
244+
private async Task OpenResultAsync(string index)
245245
{
246246
var results = SelectedResults;
247-
247+
if (index is not null)
248+
{
249+
results.SelectedIndex = int.Parse(index);
250+
}
248251
var result = results.SelectedItem?.Result;
249252
if (result == null)
250253
{

0 commit comments

Comments
 (0)