Browse Source

REPORT-24098 稳定共创:设计器一打开模板就触发保存操作,未做任何修改

feature/big-screen
hades 5 years ago
parent
commit
b784ae0156
  1. 12
      designer-base/src/main/java/com/fr/design/gui/icombocheckbox/UIComboCheckBox.java

12
designer-base/src/main/java/com/fr/design/gui/icombocheckbox/UIComboCheckBox.java

@ -132,7 +132,17 @@ public class UIComboCheckBox extends JComponent implements UIObserver, GlobalNam
}
private UITextField createEditor() {
UITextField editor = new UITextField();
UITextField editor = new UITextField() {
@Override
protected void initListener() {
this.addMouseListener(new MouseAdapter() {
@Override
public void mouseClicked(MouseEvent e) {
attributeChange();
}
});
}
};
editor.setEditable(false);
editor.setPreferredSize(new Dimension(110, 20));
addPopupListener(editor);

Loading…
Cancel
Save