Browse Source

REPORT-4883 模板参数控件问题=>添加参数,再撤销时,刷新右上角的面板

master
plough 7 years ago
parent
commit
7f7c22f2c5
  1. 1
      designer_form/src/com/fr/design/mainframe/JForm.java

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

@ -556,6 +556,7 @@ public class JForm extends JTemplate<Form, FormUndoState> implements BaseJForm {
//撤销的时候要重新选择的body布局
this.formDesign.getSelectionModel().setSelectedCreators(FormSelectionUtils.rebuildSelection(formDesign.getRootComponent(),
formDesign.getRootComponent() == selectedBodyLayout() ? u.getSelectWidgets() : new Widget[]{selectedBodyLayout().toData()}));
refreshToolArea();
} else {
String widgetName = this.formDesign.getElementCaseContainerName();
//这儿太坑了,u.getForm() 与 getTarget内容不一样

Loading…
Cancel
Save