Browse Source

REPORT-3163 合作开发9.0设计器=>超级链接=>编辑后触发保存

master
plough 7 years ago
parent
commit
dfc21204a9
  1. 2
      designer/src/com/fr/design/mainframe/HyperlinkGroupPaneActionImpl.java
  2. 3
      designer_form/src/com/fr/design/mainframe/JForm.java

2
designer/src/com/fr/design/mainframe/HyperlinkGroupPaneActionImpl.java

@ -87,5 +87,7 @@ public class HyperlinkGroupPaneActionImpl implements HyperlinkGroupPaneActionPro
} }
}); });
} }
HistoryTemplateListPane.getInstance().getCurrentEditingTemplate().fireTargetModified();
} }
} }

3
designer_form/src/com/fr/design/mainframe/JForm.java

@ -96,6 +96,9 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm {
@Override @Override
public TargetComponent getCurrentElementCasePane() { public TargetComponent getCurrentElementCasePane() {
if (elementCaseDesign == null) {
return null;
}
return elementCaseDesign.getEditingElementCasePane(); return elementCaseDesign.getEditingElementCasePane();
} }

Loading…
Cancel
Save