mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
feature: add global configuration for custom action (#1077)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
0f9087fac6
commit
5c279b4b56
6 changed files with 182 additions and 6 deletions
|
@ -471,11 +471,7 @@ namespace SourceGit.Models
|
|||
|
||||
public CustomAction AddNewCustomAction()
|
||||
{
|
||||
var act = new CustomAction()
|
||||
{
|
||||
Name = "Unnamed Custom Action",
|
||||
};
|
||||
|
||||
var act = new CustomAction() { Name = "Unnamed Action" };
|
||||
CustomActions.Add(act);
|
||||
return act;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue