Browse Source

无任务,决策报表编辑报表块报错

master
yaoh.wu 7 years ago
parent
commit
304449fd19
  1. 9
      designer-realize/src/com/fr/design/mainframe/ElementCasePane.java

9
designer-realize/src/com/fr/design/mainframe/ElementCasePane.java

@ -524,8 +524,13 @@ public abstract class ElementCasePane<T extends TemplateElementCase> extends Tar
* 因为这边判断selection是一个selection所以不会触发fireSelectionChanged
*/
public void setSelection(Selection selection) {
//旧选中内容编辑器释放模板对象
this.getCurrentEditor().release();
try {
//旧选中内容编辑器释放模板对象
this.getCurrentEditor().release();
} catch (UnsupportedOperationException e) {
FRContext.getLogger().info("Nothing to release");
}
if (!ComparatorUtils.equals(this.selection, selection) ||
!ComparatorUtils.equals(EastRegionContainerPane.getInstance().getCellAttrPane(), CellElementPropertyPane.getInstance())) {
this.selection = selection;

Loading…
Cancel
Save