Browse Source

添加注释

release/11.0
kerry 2 years ago
parent
commit
bd2b819a52
  1. 1
      designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

1
designer-base/src/main/java/com/fr/design/file/MultiTemplateTabPane.java

@ -335,6 +335,7 @@ public class MultiTemplateTabPane extends JComponent {
if (openedTemplate.size() == 0) { if (openedTemplate.size() == 0) {
DesignerContext.getDesignerFrame().addAndActivateJTemplate(); DesignerContext.getDesignerFrame().addAndActivateJTemplate();
} else if (option == CloseOption.All){ } else if (option == CloseOption.All){
//openedTemplate(0)是JVirtualTemplate时需重新打开
openedTemplate.get(0).activeOldJTemplate(); openedTemplate.get(0).activeOldJTemplate();
} else { } else {
currentTemplate.activeOldJTemplate(); currentTemplate.activeOldJTemplate();

Loading…
Cancel
Save