Browse Source

REPORT-9582 【阻塞】【10.0二轮回归】设计器菜单栏-服务器-控件管理添加预定义控件异常

master
kerry 6 years ago
parent
commit
79ea6e0004
  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