Browse Source

Merge pull request #1331 in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit '9278f6e3b1bde55e9e16d4280e5341ba5cb31238':
  MOBILE-24394 组件冻结选项操作后,进行保存失败
feature/big-screen
Hades 5 years ago
parent
commit
125de3c8d6
  1. 8
      designer-base/src/main/java/com/fr/design/gui/icombocheckbox/UIComboCheckBox.java

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

@ -23,6 +23,8 @@ import java.awt.FlowLayout;
import java.awt.FontMetrics;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.FocusAdapter;
import java.awt.event.FocusEvent;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;
import java.util.ArrayList;
@ -141,6 +143,12 @@ public class UIComboCheckBox extends JComponent implements UIObserver, GlobalNam
attributeChange();
}
});
this.addFocusListener(new FocusAdapter() {
@Override
public void focusLost(FocusEvent e) {
attributeChange();
}
});
}
};
editor.setEditable(false);

Loading…
Cancel
Save