Browse Source

Merge pull request #3753 in DESIGN/design from bugfix/10.0 to release/10.0

* commit '480c9ecadf43db167d6ebd5f1aee671eb42fa455':
  REPORT-48324 聚合报表,超链在设计器中切换模板后显示不对
feature/big-screen
superman 4 years ago
parent
commit
6c6978399b
  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