Browse Source

Pull request #3739: REPORT-48324 聚合报表,超链在设计器中切换模板后显示不对

Merge in DESIGN/design from ~KERRY/design_10.0:bugfix/10.0 to bugfix/10.0

* commit '91923d2a67474afe06355ecf36f997d0f693548f':
  REPORT-48324 聚合报表,超链在设计器中切换模板后显示不对
bugfix/10.0
kerry 4 years ago
parent
commit
480c9ecadf
  1. 4
      designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

4
designer-base/src/main/java/com/fr/design/mainframe/DesignerFrame.java

@ -977,6 +977,10 @@ public class DesignerFrame extends JFrame implements JTemplateActionListener, Ta
* @param jt 添加的模板. * @param jt 添加的模板.
*/ */
public void addAndActivateJTemplate(JTemplate<?, ?> jt) { public void addAndActivateJTemplate(JTemplate<?, ?> jt) {
JTemplate currentEditingTemplate = HistoryTemplateListCache.getInstance().getCurrentEditingTemplate();
if (currentEditingTemplate != null) {
currentEditingTemplate.stopEditing();
}
//切换文件后清空FixedPopupPane面板 //切换文件后清空FixedPopupPane面板
EastRegionContainerPane.getInstance().clearCurrentPopupPane(); EastRegionContainerPane.getInstance().clearCurrentPopupPane();
//释放模板对象 //释放模板对象

Loading…
Cancel
Save