looks like intellij laf doesn't need custom editor (IDEA-132965)

This commit is contained in:
Dennis Ushakov
2016-08-05 22:54:18 +03:00
parent 36a4a7fb3e
commit 529f1d1bbe
@@ -243,7 +243,7 @@ public class ComboBox<E> extends ComboBoxWithWidePopup<E> implements AWTEventLis
public final void setEditor(final ComboBoxEditor editor) {
ComboBoxEditor _editor = editor;
if (SystemInfo.isMac && (UIUtil.isUnderAquaLookAndFeel() || UIUtil.isUnderIntelliJLaF())) {
if (SystemInfo.isMac && UIUtil.isUnderAquaLookAndFeel()) {
if (editor instanceof UIResource) {
_editor = new FixedComboBoxEditor();
}