mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix crash on null Action binded to Result
This commit is contained in:
parent
f9ff9af094
commit
02ed3e4e8b
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@ namespace Wox
|
||||||
|
|
||||||
AddHandler(MouseLeftButtonUpEvent, new RoutedEventHandler((o, e) =>
|
AddHandler(MouseLeftButtonUpEvent, new RoutedEventHandler((o, e) =>
|
||||||
{
|
{
|
||||||
Result.Action();
|
if (Result.Action != null)
|
||||||
|
Result.Action();
|
||||||
|
|
||||||
CommonStorage.Instance.UserSelectedRecords.Add(result);
|
CommonStorage.Instance.UserSelectedRecords.Add(result);
|
||||||
if (!result.DontHideWoxAfterSelect)
|
if (!result.DontHideWoxAfterSelect)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue