style(History): unify context menu style for commit

This commit is contained in:
leo 2020-08-18 09:49:08 +08:00
parent 96bf5548c6
commit cfce4bddd7

View file

@ -552,7 +552,7 @@ namespace SourceGit.UI {
// Revert commit // Revert commit
var revert = new MenuItem(); var revert = new MenuItem();
revert.Header = "Revert commit"; revert.Header = "Revert Commit";
revert.Visibility = !commit.IsMerged ? Visibility.Collapsed : Visibility.Visible; revert.Visibility = !commit.IsMerged ? Visibility.Collapsed : Visibility.Visible;
revert.Click += (o, e) => { revert.Click += (o, e) => {
Revert.Show(Repo, commit); Revert.Show(Repo, commit);