diff --git a/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java b/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java index a269c9265d9a..764273313593 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java @@ -1080,7 +1080,11 @@ public abstract class DialogWrapper { */ @NotNull protected Action[] createActions() { - return new Action[]{getOKAction(), getCancelAction(), getHelpAction()}; + Action helpAction = getHelpAction(); + + return helpAction == myHelpAction && getHelpId() == null + ? new Action[]{getOKAction(), getCancelAction()} + : new Action[]{getOKAction(), getCancelAction(), helpAction}; } @NotNull