From 84da5ceb617e0b4d471a6d1c8fdeec4d962c1c2f Mon Sep 17 00:00:00 2001 From: kerry Date: Fri, 18 Oct 2019 16:53:05 +0800 Subject: [PATCH] =?UTF-8?q?REPORT-23017=20=E6=97=A0=E6=B3=95=E4=BF=9D?= =?UTF-8?q?=E5=AD=98=20*.frm=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/fr/design/mainframe/JTemplate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java index 22ffc54036..b9b08552f2 100644 --- a/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java +++ b/designer-base/src/main/java/com/fr/design/mainframe/JTemplate.java @@ -668,7 +668,7 @@ public abstract class JTemplate> for (ReportSupportedFileUIProvider provider : providers) { result = result || provider.saveToNewFile(this.editingFILE.getPath(), this); } - if(!result && FileExtension.CPT.matchExtension(this.editingFILE.getPath())){ + if(!result){ result = result || this.saveFile(); //更换最近打开 DesignerEnvManager.getEnvManager().replaceRecentOpenedFilePath(oldName, this.getPath());