Browse Source

Merge pull request #928 in DESIGN/design from ~HADES/design:release/10.0 to release/10.0

* commit '8c66faed3f84e953006435ea21c0656d735affee':
  REPORT-17730 控件名无法保存
bugfix/10.0
Hades 6 years ago
parent
commit
12902dfc88
  1. 3
      designer-form/src/main/java/com/fr/design/mainframe/widget/ui/FormWidgetCardPane.java

3
designer-form/src/main/java/com/fr/design/mainframe/widget/ui/FormWidgetCardPane.java

@ -225,7 +225,8 @@ public class FormWidgetCardPane extends AbstractAttrNoScrollPane {
return;
}
widgetPropertyPane.update(widget);
xCreator.resetCreatorName(currentWidgetName);
// 上面一行更新了组件 这里必须重新调用getWidgetName
xCreator.resetCreatorName(widget.getWidgetName());
xCreator.resetVisible(widget.isVisible());
designer.getEditListenerTable().fireCreatorModified(xCreator, DesignerEvent.CREATOR_RENAMED);
return;

Loading…
Cancel
Save