ability to remove useless Help button from dialog

This commit is contained in:
Konstantin Bulenkov
2015-01-24 02:46:43 +01:00
parent 81292d78be
commit 3975681665
2 changed files with 4 additions and 0 deletions
@@ -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) {
@@ -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