diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 4df87208c..14f6dda39 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -1357,12 +1357,18 @@ namespace Flow.Launcher.ViewModel { if (reflectResult.Action != null) { + // Record the user selected record for result ranking + _userSelectedRecord.Add(reflectResult); + // Since some actions may need to hide the Flow window to execute // So let us populate the results of them return reflectResult.Action(c); } if (reflectResult.AsyncAction != null) { + // Record the user selected record for result ranking + _userSelectedRecord.Add(reflectResult); + // Since some actions may need to hide the Flow window to execute // So let us populate the results of them return await reflectResult.AsyncAction(c);