diff --git a/plugins/git4idea/src/git4idea/cherrypick/GitCherryPickAction.java b/plugins/git4idea/src/git4idea/cherrypick/GitCherryPickAction.java index 9a425cb8a84b..7c5e18f16fd2 100644 --- a/plugins/git4idea/src/git4idea/cherrypick/GitCherryPickAction.java +++ b/plugins/git4idea/src/git4idea/cherrypick/GitCherryPickAction.java @@ -143,7 +143,7 @@ public class GitCherryPickAction extends DumbAwareAction { return; } - e.getPresentation().setEnabledAndVisible(enabled(project, log, details)); + e.getPresentation().setEnabled(enabled(project, log, details)); e.getPresentation().setText(isAutoCommit(project) ? NAME : NAME + "..."); }