Browse Source

REPORT-19102 【文本控件】电话-自定义规则设置后,规则未保存成功,且下拉框出现空白选项

feature/big-screen
Joe.Jiang 5 years ago
parent
commit
057b99da91
  1. 2
      designer-realize/src/main/java/com/fr/design/mainframe/CellWidgetPropertyPane.java

2
designer-realize/src/main/java/com/fr/design/mainframe/CellWidgetPropertyPane.java

@ -109,7 +109,7 @@ public class CellWidgetPropertyPane extends BasicPane {
if (finalCS.isSelectedOneCell(ePane)) { if (finalCS.isSelectedOneCell(ePane)) {
if (tplEC.getTemplateCellElement(cellElement.getColumn(), cellElement.getRow()) == null) {//cellElement未加入到report中时要添加进去 if (tplEC.getTemplateCellElement(cellElement.getColumn(), cellElement.getRow()) == null) {//cellElement未加入到report中时要添加进去
tplEC.addCellElement(cellElement); tplEC.addCellElement(cellElement);
} else { } else if (tplEC.getTemplateCellElement(finalCS.getColumn(), finalCS.getRow()) != null) {
cellElement = tplEC.getTemplateCellElement(finalCS.getColumn(), finalCS.getRow()); cellElement = tplEC.getTemplateCellElement(finalCS.getColumn(), finalCS.getRow());
} }
setCellWidget(cellWidget, cellElement); setCellWidget(cellWidget, cellElement);

Loading…
Cancel
Save