mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-96441 ugly 'Done' button in debugger popup header
(cherry picked from commit 3c2639d2789ff950bdc5df207eefb437f004d526)
This commit is contained in:
@@ -169,7 +169,7 @@ public class MasterDetailPopupBuilder implements MasterController {
|
||||
}
|
||||
};
|
||||
//native button is pretty enough
|
||||
if (SystemInfo.isMacOSLion || SystemInfo.isMacOSMountainLion) {
|
||||
if ((SystemInfo.isMacOSLion || SystemInfo.isMacOSMountainLion) && !UIUtil.isUnderDarcula()) {
|
||||
final JButton done = new JButton("Done");
|
||||
done.setMnemonic('o');
|
||||
done.addActionListener(actionListener);
|
||||
|
||||
Reference in New Issue
Block a user