Browse Source

Pull request #9882: REPORT-79343 【运营产品化二期】立即使用后打开的模板仍提示报存

Merge in DESIGN/design from ~LINK.ZHAO/design:release/11.0 to release/11.0

* commit 'a74422f01a6f9b4951c011e4d233820f8ddbb3b1':
  REPORT-79343 【运营产品化二期】立即使用后打开的模板仍提示报存 1、打开前刷新目录
newui
Link.Zhao 2 years ago
parent
commit
65eda2a38d
  1. 4
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/action/StartUseAction.java

4
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/action/StartUseAction.java

@ -2,6 +2,7 @@ package com.fr.design.mainframe.alphafine.action;
import com.fr.common.util.Strings;
import com.fr.design.mainframe.DesignerContext;
import com.fr.design.mainframe.DesignerFrameFileDealerPane;
import com.fr.design.mainframe.alphafine.AlphaFineHelper;
import com.fr.design.mainframe.alphafine.download.FineMarketConstants;
import com.fr.design.mainframe.alphafine.download.FineMarketDownloadManager;
@ -71,6 +72,9 @@ public class StartUseAction implements ActionListener {
}
void openInDesigner(File file) {
// 刷新目录
DesignerFrameFileDealerPane.getInstance().refresh();
// 打开模板
DesignerContext.getDesignerFrame().openTemplate(new FileFILE(file));
}

Loading…
Cancel
Save