Browse Source

Merge pull request #705 in DESIGN/design from ~KERRY/design_10.0:final/10.0 to final/10.0

* commit 'bce83a67feec1a409d8c0c289cd7aa535603c7a1':
  REPORT-13626 昨天传的没合到final
final/10.0
Kara 6 years ago
parent
commit
4a3618e598
  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