Fix crash on null Action binded to Result
This commit is contained in:
parent
f9ff9af094
commit
02ed3e4e8b
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue