mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
fix<Histories>: fix wrong context menu items for current branch
This commit is contained in:
parent
672af4527e
commit
ee8efa5c47
1 changed files with 28 additions and 28 deletions
|
@ -285,6 +285,7 @@ namespace SourceGit.Views.Widgets {
|
||||||
e.Handled = true;
|
e.Handled = true;
|
||||||
};
|
};
|
||||||
menu.Items.Add(reset);
|
menu.Items.Add(reset);
|
||||||
|
}
|
||||||
|
|
||||||
if (!merged) {
|
if (!merged) {
|
||||||
var rebase = new MenuItem();
|
var rebase = new MenuItem();
|
||||||
|
@ -313,7 +314,6 @@ namespace SourceGit.Views.Widgets {
|
||||||
}
|
}
|
||||||
|
|
||||||
menu.Items.Add(new Separator());
|
menu.Items.Add(new Separator());
|
||||||
}
|
|
||||||
|
|
||||||
var createBranch = new MenuItem();
|
var createBranch = new MenuItem();
|
||||||
createBranch.Header = App.Text("CreateBranch");
|
createBranch.Header = App.Text("CreateBranch");
|
||||||
|
|
Loading…
Reference in a new issue