[PTRun] Fix always show after executing context menu result (#21291)

* fix always show

* add tests

* remove workaround
This commit is contained in:
Henrik Lau Eriksson
2022-10-25 23:27:18 +02:00
committed by GitHub
parent a3042b8435
commit 460f242967
10 changed files with 111 additions and 32 deletions

View File

@@ -22,7 +22,8 @@ namespace Wox.Plugin
public ModifierKeys AcceleratorModifiers { get; set; }
/// <summary>
/// Gets or sets return true to hide wox after select result
/// Gets or sets the context menu result action.
/// Return <c>true</c> to hide PowerToys Run after the context menu result has been selected.
/// </summary>
public Func<ActionContext, bool> Action { get; set; }