We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 007c089 commit d8198d0Copy full SHA for d8198d0
Plugins/Flow.Launcher.Plugin.Program/Main.cs
@@ -481,12 +481,12 @@ public List<BasePluginHotkey> GetPluginHotkeys()
481
Visible = true,
482
Action = (r) =>
483
{
484
- if (r.ContextData is UWPApp uwp)
+ if (r?.ContextData is UWPApp uwp)
485
486
Context.API.OpenDirectory(uwp.Location);
487
return true;
488
}
489
- else if (r.ContextData is Win32 win32)
+ else if (r?.ContextData is Win32 win32)
490
491
Context.API.OpenDirectory(win32.ParentDirectory, win32.FullPath);
492
0 commit comments