Browse Source

Merge pull request #1307 in DESIGN/design from ~HADES/design:final/10.0 to final/10.0

* commit 'c6807c1291f158f00667492e02d2cb49116a4f44':
  REPORT-24098 稳定共创:设计器一打开模板就触发保存操作,未做任何修改
final/10.0
Kara 5 years ago
parent
commit
64570fd666
  1. 13
      designer-base/src/main/java/com/fr/design/gui/icombocheckbox/UIComboCheckBox.java

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

@ -132,8 +132,17 @@ public class UIComboCheckBox extends JComponent implements UIObserver, GlobalNam
}
private UITextField createEditor() {
UITextField editor = new UITextField();
editor.setEditable(false);
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