Browse Source

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

* commit '5eb3eec0385722455a322f1ec1cad6af12b6f714':
  REPORT-9582 【阻塞】【10.0二轮回归】设计器菜单栏-服务器-控件管理添加预定义控件异常
master
kerry 7 years ago
parent
commit
d96e216d1c
  1. 7
      designer-realize/src/main/java/com/fr/design/widget/WidgetEventPane.java

7
designer-realize/src/main/java/com/fr/design/widget/WidgetEventPane.java

@ -34,13 +34,16 @@ import com.fr.stable.Nameable;
import javax.swing.*;
public class WidgetEventPane extends ObjectUIControlPane {
private static final Selection NO_SELECTION = new CellSelection(-1, -1, -1, -1);
private Selection selection;
private Selection selection = NO_SELECTION;
public WidgetEventPane(ElementCasePane pane) {
super(pane);
this.setNameListEditable(false);
selection = pane.getSelection();
if(pane != null){
selection = pane.getSelection();
}
setBorder(BorderFactory.createEmptyBorder(10, 0, 15, 0));
}

Loading…
Cancel
Save