Browse Source

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

Merge in DESIGN/design from ~HADES/design:final/10.0 to final/10.0

* commit '90817ad82450de63f5a54fa96fa581b40c213b4a':
  REPORT-62437 安装大数据集导出excel插件后,远程和本地互相切换时保存失败问题
final/10.0
Hades 3 years ago
parent
commit
9b5f85e4f1
  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