mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-30 13:51:53 +08:00
feature<AutoFetch>: finish auto fetch remotes
This commit is contained in:
@@ -112,8 +112,13 @@ namespace SourceGit.ViewModels {
|
||||
}
|
||||
|
||||
public bool GitAutoFetch {
|
||||
get => _gitAutoFetch;
|
||||
set => SetProperty(ref _gitAutoFetch, value);
|
||||
get => Commands.AutoFetch.IsEnabled;
|
||||
set {
|
||||
if (Commands.AutoFetch.IsEnabled != value) {
|
||||
Commands.AutoFetch.IsEnabled = value;
|
||||
OnPropertyChanged(nameof(GitAutoFetch));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public int ExternalMergeToolType {
|
||||
@@ -242,7 +247,6 @@ namespace SourceGit.ViewModels {
|
||||
private Models.ChangeViewMode _commitChangeViewMode = Models.ChangeViewMode.List;
|
||||
|
||||
private string _gitDefaultCloneDir = string.Empty;
|
||||
private bool _gitAutoFetch = false;
|
||||
|
||||
private int _externalMergeToolType = 0;
|
||||
private string _externalMergeToolPath = string.Empty;
|
||||
|
||||
Reference in New Issue
Block a user