feature: support to use input control in custom action

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-06-25 16:28:54 +08:00
parent a8803ca188
commit 676785f8b1
No known key found for this signature in database
26 changed files with 659 additions and 56 deletions

View file

@ -806,9 +806,7 @@ namespace SourceGit.ViewModels
item.Header = dup.Name;
item.Click += (_, e) =>
{
if (_repo.CanCreatePopup())
_repo.ShowAndStartPopup(new ExecuteCustomAction(_repo, dup, commit));
_repo.ExecCustomAction(dup, commit);
e.Handled = true;
};