mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
fix<Fetch>: start fetch from remote's context menu should only fetch selected remote
This commit is contained in:
parent
787fe4ad70
commit
f4c82ff749
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ namespace SourceGit.ViewModels {
|
|||
|
||||
public Fetch(Repository repo, Models.Remote preferedRemote = null) {
|
||||
_repo = repo;
|
||||
_fetchAllRemotes = true;
|
||||
_fetchAllRemotes = preferedRemote == null;
|
||||
SelectedRemote = preferedRemote != null ? preferedRemote : _repo.Remotes[0];
|
||||
Prune = true;
|
||||
View = new Views.Fetch() { DataContext = this };
|
||||
|
|
Loading…
Reference in a new issue