Browse Source

Pull request #7073: REPORT-62438 远程模板锁定优化 改一个交互细节

Merge in DESIGN/design from ~HADES/design:feature/x to feature/x

* commit 'b0112cb1303ee82caa65e87fea494b975da0d532':
  REPORT-62438 远程模板锁定优化 改一个交互细节
feature/x
Hades 3 years ago
parent
commit
fb3f6b9ff6
  1. 3
      designer-base/src/main/java/com/fr/design/utils/TemplateUtils.java

3
designer-base/src/main/java/com/fr/design/utils/TemplateUtils.java

@ -3,6 +3,7 @@ package com.fr.design.utils;
import com.fr.base.extension.FileExtension;
import com.fr.base.io.BaseBook;
import com.fr.design.file.HistoryTemplateListCache;
import com.fr.design.file.TemplateTreePane;
import com.fr.design.i18n.Toolkit;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.JTemplate;
@ -103,6 +104,8 @@ public class TemplateUtils {
if (needOpen) {
DesignerContext.getDesignerFrame().openTemplate(file);
}
// 备份成功刷新下目录树 展示出来备份的模板
TemplateTreePane.getInstance().refresh();
} catch (Exception e) {
SaveFailureHandler.getInstance().process(e);
FineLoggerFactory.getLogger().error(e.getMessage(), e);

Loading…
Cancel
Save