|
|
|
@ -589,15 +589,12 @@ public class DesignerFrameFileDealerPane extends JPanel implements FileToolbarSt
|
|
|
|
|
for (JTemplate jTemplate : HistoryTemplateListCache.getInstance().getHistoryList()) { |
|
|
|
|
if (ComparatorUtils.equals(jTemplate.getEditingFILE().getPath(), path)) { |
|
|
|
|
if (!jTemplate.isALLSaved()) { |
|
|
|
|
if (isCurrentEditing) { |
|
|
|
|
MultiTemplateTabPane.getInstance().setIsCloseCurrent(true); |
|
|
|
|
} |
|
|
|
|
MultiTemplateTabPane.getInstance().setIsCloseCurrent(isCurrentEditing); |
|
|
|
|
MultiTemplateTabPane.getInstance().closeFormat(jTemplate); |
|
|
|
|
confirmCloseAndShowVcsNewPane(jTemplate, path); |
|
|
|
|
return; |
|
|
|
|
} else { |
|
|
|
|
showVcsNewPane(path); |
|
|
|
|
} |
|
|
|
|
showVcsNewPane(path); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|