mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-25 19:32:03 +08:00
ux: re-design custom action control editor
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
@@ -23,7 +23,12 @@ namespace SourceGit.ViewModels
|
||||
|
||||
public void Add()
|
||||
{
|
||||
var added = new Models.CustomActionControl() { Type = Models.CustomActionControlType.TextBox };
|
||||
var added = new Models.CustomActionControl()
|
||||
{
|
||||
Label = "Unnamed",
|
||||
Type = Models.CustomActionControlType.TextBox
|
||||
};
|
||||
|
||||
Controls.Add(added);
|
||||
Edit = added;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user