Browse Source

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

* commit 'c498052bd68845babca56e8e5d55ac1a6000ba00':
  REPORT-13626  先改回去,不在回归里面处理,一直都是这样的逻辑
bugfix/10.0
kerry 6 years ago
parent
commit
d9f0ce3d67
  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.design.gui.imenu.UIListPopup;
import com.fr.general.ComparatorUtils; import com.fr.general.ComparatorUtils;
import com.fr.stable.OperatingSystem;
import javax.swing.JList; import javax.swing.JList;
import javax.swing.UIManager; import javax.swing.UIManager;
import javax.swing.event.DocumentEvent; import javax.swing.event.DocumentEvent;
@ -82,6 +84,9 @@ public class UIAutoCompletionField extends UITextField implements DocumentListen
} }
private void textChanged() { private void textChanged() {
if (OperatingSystem.isMacOS()) {
return;
}
if (!popup.isVisible()) { if (!popup.isVisible()) {
showPopup(); showPopup();
requestFocus(); requestFocus();

Loading…
Cancel
Save