Browse Source

REPORT-13067 npe 无法拖报表块

research/10.0
XiaXiang 6 years ago
parent
commit
bb1bad7574
  1. 5
      designer-form/src/main/java/com/fr/design/designer/creator/XElementCase.java

5
designer-form/src/main/java/com/fr/design/designer/creator/XElementCase.java

@ -114,10 +114,11 @@ public class XElementCase extends XBorderStyleWidgetCreator implements FormEleme
public CRPropertyDescriptor[] getExtraTableEditor(){
CRPropertyDescriptor[] extraTableEditor = resolveCompatible();
if (getReportFitEditor() == null) {
CRPropertyDescriptor reportFitEditor = getReportFitEditor();
if (reportFitEditor == null) {
return extraTableEditor;
}
return ArrayUtils.addAll(extraTableEditor, new CRPropertyDescriptor[] {getReportFitEditor()});
return ArrayUtils.add(extraTableEditor, reportFitEditor);
}
private CRPropertyDescriptor getReportFitEditor() {

Loading…
Cancel
Save