mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
enhance: reduce the times calling Save()
(#436)
This commit is contained in:
parent
9fe8ffcea9
commit
931831431b
4 changed files with 18 additions and 13 deletions
|
@ -18,7 +18,7 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public override Task<bool> Sure()
|
||||
{
|
||||
Preference.Instance.RemoveNode(_node);
|
||||
Preference.Instance.RemoveNode(_node, true);
|
||||
Welcome.Instance.Refresh();
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue