diff --git a/Wox/ResultItem.xaml.cs b/Wox/ResultItem.xaml.cs index dc29a993fd..17046b0ddd 100644 --- a/Wox/ResultItem.xaml.cs +++ b/Wox/ResultItem.xaml.cs @@ -83,7 +83,9 @@ namespace Wox AddHandler(MouseLeftButtonUpEvent, new RoutedEventHandler((o, e) => { - Result.Action(); + if (Result.Action != null) + Result.Action(); + CommonStorage.Instance.UserSelectedRecords.Add(result); if (!result.DontHideWoxAfterSelect) {