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 66d1c6c8d6a9..35f0b92cdb8b 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/DialogWrapper.java @@ -465,6 +465,8 @@ public abstract class DialogWrapper { && Arrays.asList(actions).contains(getHelpAction())) { hasHelpToMoveToLeftSide = true; actions = ArrayUtil.remove(actions, getHelpAction()); + } else if (Registry.is("ide.remove.help.button.from.dialogs")) { + actions = ArrayUtil.remove(actions, getHelpAction()); } if (SystemInfo.isMac) { diff --git a/platform/util/resources/misc/registry.properties b/platform/util/resources/misc/registry.properties index 2aabfad8c11d..6607fe134121 100644 --- a/platform/util/resources/misc/registry.properties +++ b/platform/util/resources/misc/registry.properties @@ -518,3 +518,5 @@ lcd.contrast.value.description=Set LCD text contrast value from 100 to 250 removable.welcome.screen.projects=true removable.welcomesreen.projects.description=Allows removing recent projects from welcome screen with mouse ide.find.show.preview=true +ide.remove.help.button.from.dialogs=false +ide.remove.help.button.from.dialogs.description=Removes help button from dialogs