mirror of
https://fastgit.cc/github.com/sourcegit-scm/sourcegit
synced 2026-04-24 10:50:52 +08:00
fix<Dashboard>: always enable push operation for local branches
This commit is contained in:
@@ -594,7 +594,6 @@ namespace SourceGit.UI {
|
||||
|
||||
var push = new MenuItem();
|
||||
push.Header = App.Format("BranchCM.Push", branch.Name);
|
||||
push.IsEnabled = !string.IsNullOrEmpty(branch.UpstreamTrack);
|
||||
push.Click += (o, e) => {
|
||||
Push.Show(repo, branch);
|
||||
e.Handled = true;
|
||||
|
||||
Reference in New Issue
Block a user