Browse Source

REPORT-62437 安装大数据集导出excel插件后,远程和本地互相切换时保存失败问题

final/10.0
hades 3 years ago
parent
commit
90817ad824
  1. 7
      designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

7
designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java

@ -406,8 +406,11 @@ public abstract class JTemplate<T extends BaseBook, U extends BaseUndoState<?>>
}
private void setTargetByFile(FILE file) {
this.template = JTemplateFactory.asIOFile(file, this.suffix());
setTarget(this.template);
T newTemplate = JTemplateFactory.asIOFile(file, this.suffix());
if (newTemplate != null) {
this.template = newTemplate;
setTarget(this.template);
}
}
private void addCenterPane() {

Loading…
Cancel
Save