diff --git a/Flow.Launcher.Plugin/Result.cs b/Flow.Launcher.Plugin/Result.cs index 027631533..57ee1e921 100644 --- a/Flow.Launcher.Plugin/Result.cs +++ b/Flow.Launcher.Plugin/Result.cs @@ -263,6 +263,11 @@ namespace Flow.Launcher.Plugin /// public PreviewInfo Preview { get; set; } = PreviewInfo.Default; + /// + /// Determines if the selected count should be added to the score + /// + public bool AddSelectedCount { get; set; } = true; + /// /// Info of the preview section of a /// diff --git a/Flow.Launcher/ViewModel/MainViewModel.cs b/Flow.Launcher/ViewModel/MainViewModel.cs index 8bfd2f4e5..6458316bb 100644 --- a/Flow.Launcher/ViewModel/MainViewModel.cs +++ b/Flow.Launcher/ViewModel/MainViewModel.cs @@ -1476,7 +1476,9 @@ namespace Flow.Launcher.ViewModel else if (result.Score != int.MaxValue) { var priorityScore = metaResults.Metadata.Priority * 150; - result.Score += _userSelectedRecord.GetSelectedCount(result) + priorityScore; + result.Score += result.AddSelectedCount ? + _userSelectedRecord.GetSelectedCount(result) + priorityScore : + priorityScore; } } }