Browse Source

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

1、打开前刷新目录
release/11.0
Link.Zhao 2 years ago
parent
commit
a155299dcf
  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