|
|
|
@ -310,7 +310,10 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm<F
|
|
|
|
|
addJTemplateActionListener(new JTemplateActionListenerAdapter() { |
|
|
|
|
@Override |
|
|
|
|
public void templateClosed(JTemplate<?, ?> jt) { |
|
|
|
|
String key = jt.getEditingFILE().getPath() + template.getTemplateID(); |
|
|
|
|
if (jt == null) { |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
String key = jt.getEditingFILE().getPath() + jt.getTarget().getTemplateID(); |
|
|
|
|
FormHierarchyTreePane.getInstance().removeTreePath(key); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|