mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix<Dashboard>: always enable push operation for local branches
This commit is contained in:
parent
ed911fb679
commit
3c624009f6
1 changed files with 0 additions and 1 deletions
|
@ -594,7 +594,6 @@ namespace SourceGit.UI {
|
||||||
|
|
||||||
var push = new MenuItem();
|
var push = new MenuItem();
|
||||||
push.Header = App.Format("BranchCM.Push", branch.Name);
|
push.Header = App.Format("BranchCM.Push", branch.Name);
|
||||||
push.IsEnabled = !string.IsNullOrEmpty(branch.UpstreamTrack);
|
|
||||||
push.Click += (o, e) => {
|
push.Click += (o, e) => {
|
||||||
Push.Show(repo, branch);
|
Push.Show(repo, branch);
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
|
|
Loading…
Reference in a new issue