IDEA-96441 ugly 'Done' button in debugger popup header

(cherry picked from commit 3c2639d2789ff950bdc5df207eefb437f004d526)
This commit is contained in:
Konstantin Bulenkov
2012-12-05 16:13:53 +01:00
parent bd79b568e7
commit 3cd3c7dc8b
@@ -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);