mirror of
https://github.com/microsoft/PowerToys
synced 2024-11-22 00:03:48 +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