Browse Source

REPORT-40027 NPE

feature/big-screen
Yuan.Wang 4 years ago
parent
commit
f40e87fcba
  1. 5
      designer-form/src/main/java/com/fr/design/mainframe/JForm.java

5
designer-form/src/main/java/com/fr/design/mainframe/JForm.java

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

Loading…
Cancel
Save