mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
IDEA-84398 Generate equals/hashCode-wizard: wrong button order (Mac)
This commit is contained in:
@@ -191,6 +191,15 @@ public class GenerateEqualsWizard extends AbstractWizard {
|
||||
if (stepComponent instanceof MemberSelectionPanel) {
|
||||
((MemberSelectionPanel)stepComponent).getTable().requestFocus();
|
||||
}
|
||||
|
||||
if (SystemInfo.isMac) {
|
||||
getFinishButton().setVisible(false);
|
||||
|
||||
final JButton nextButton = getNextButton();
|
||||
if (nextButton.isEnabled()) {
|
||||
getRootPane().setDefaultButton(nextButton);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
protected String getHelpID() {
|
||||
|
||||
Reference in New Issue
Block a user