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