default button should work when focus is on another button (IDEA-64619)

This commit is contained in:
anna
2011-03-14 17:02:09 +01:00
parent 58c3fccdfb
commit cb21030fa8
@@ -491,6 +491,7 @@ public final class LafManagerImpl extends LafManager implements ApplicationCompo
UIDefaults lookAndFeelDefaults=UIManager.getLookAndFeelDefaults();
initInputMapDefaults(lookAndFeelDefaults);
initActionMapDefaults(lookAndFeelDefaults);
UIManager.put("Button.defaultButtonFollowsFocus", Boolean.FALSE);
patchFileChooserStrings(lookAndFeelDefaults);
if (shouldPatchLAFFonts()) {
storeOriginalFontDefaults(lookAndFeelDefaults);