fix<Dashboard>: always enable push operation for local branches

This commit is contained in:
leo 2021-02-01 10:43:13 +08:00
parent ed911fb679
commit 3c624009f6

View file

@ -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;