Fix crash on null Action binded to Result

This commit is contained in:
Yeechan Lu 2014-01-30 00:53:51 +08:00
parent f9ff9af094
commit 02ed3e4e8b

View File

@ -83,7 +83,9 @@ namespace Wox
AddHandler(MouseLeftButtonUpEvent, new RoutedEventHandler((o, e) =>
{
if (Result.Action != null)
Result.Action();
CommonStorage.Instance.UserSelectedRecords.Add(result);
if (!result.DontHideWoxAfterSelect)
{