Browse Source

REPORT-13626 昨天传的没合到final

final/10.0
kerry 6 years ago
parent
commit
bce83a67fe
  1. 5
      designer-base/src/main/java/com/fr/design/gui/itextfield/UIAutoCompletionField.java

5
designer-base/src/main/java/com/fr/design/gui/itextfield/UIAutoCompletionField.java

@ -2,6 +2,8 @@ package com.fr.design.gui.itextfield;
import com.fr.design.gui.imenu.UIListPopup;
import com.fr.general.ComparatorUtils;
import com.fr.stable.OperatingSystem;
import javax.swing.JList;
import javax.swing.UIManager;
import javax.swing.event.DocumentEvent;
@ -82,6 +84,9 @@ public class UIAutoCompletionField extends UITextField implements DocumentListen
}
private void textChanged() {
if (OperatingSystem.isMacOS()) {
return;
}
if (!popup.isVisible()) {
showPopup();
requestFocus();

Loading…
Cancel
Save