We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02b92c0 commit 0fe8c93Copy full SHA for 0fe8c93
Flow.Launcher/ViewModel/MainViewModel.cs
@@ -230,9 +230,7 @@ private void InitializeKeyCommands()
230
231
InsertSuggestion = new RelayCommand(_ =>
232
{
233
- var results = SelectedResults;
234
-
235
- var result = results.SelectedItem?.Result;
+ var result = SelectedResults.SelectedItem?.Result;
236
if (result != null) // SelectedItem returns null if selection is empty.
237
238
string _newText = String.IsNullOrEmpty(result.AutoCompleteText) ? result.Title : result.AutoCompleteText;
0 commit comments