|
|
@ -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(); |
|
|
|