mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-21 15:53:19 +00:00
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 New Issue
Block a user