mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 20:54:59 +00:00
parent
25e6e261a6
commit
68e96f428e
2 changed files with 4 additions and 4 deletions
|
@ -35,7 +35,7 @@ namespace SourceGit.ViewModels
|
||||||
public Models.Branch SelectedBranch
|
public Models.Branch SelectedBranch
|
||||||
{
|
{
|
||||||
get => _selectedBranch;
|
get => _selectedBranch;
|
||||||
set => SetProperty(ref _selectedBranch, value);
|
set => SetProperty(ref _selectedBranch, value, true);
|
||||||
}
|
}
|
||||||
|
|
||||||
public Models.DealWithLocalChanges PreAction
|
public Models.DealWithLocalChanges PreAction
|
||||||
|
|
|
@ -18,7 +18,7 @@ namespace SourceGit.ViewModels
|
||||||
get => _selectedLocalBranch;
|
get => _selectedLocalBranch;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (SetProperty(ref _selectedLocalBranch, value))
|
if (SetProperty(ref _selectedLocalBranch, value, true))
|
||||||
AutoSelectBranchByRemote();
|
AutoSelectBranchByRemote();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -39,7 +39,7 @@ namespace SourceGit.ViewModels
|
||||||
get => _selectedRemote;
|
get => _selectedRemote;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (SetProperty(ref _selectedRemote, value))
|
if (SetProperty(ref _selectedRemote, value, true))
|
||||||
AutoSelectBranchByRemote();
|
AutoSelectBranchByRemote();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ namespace SourceGit.ViewModels
|
||||||
get => _selectedRemoteBranch;
|
get => _selectedRemoteBranch;
|
||||||
set
|
set
|
||||||
{
|
{
|
||||||
if (SetProperty(ref _selectedRemoteBranch, value))
|
if (SetProperty(ref _selectedRemoteBranch, value, true))
|
||||||
IsSetTrackOptionVisible = value != null && _selectedLocalBranch.Upstream != value.FullName;
|
IsSetTrackOptionVisible = value != null && _selectedLocalBranch.Upstream != value.FullName;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue