Browse Source

REPORT-5081 [9.0 二轮]表单文件的控件设置,无法进行手动输入

更新操作不用触发populate
master
MoMeak 7 years ago
parent
commit
8d3052a2d3
  1. 6
      designer_form/src/com/fr/design/mainframe/FormDesigner.java
  2. 3
      designer_form/src/com/fr/design/mainframe/WidgetPropertyPane.java

6
designer_form/src/com/fr/design/mainframe/FormDesigner.java

@ -668,8 +668,10 @@ public class FormDesigner extends TargetComponent<Form> implements TreeSelection
// 只有选择组件时不触发模版更新,其他都要触发
if (evt.getCreatorEventID() != DesignerEvent.CREATOR_SELECTED) {
FormDesigner.this.fireTargetModified();
setParameterArray(getNoRepeatParas(getTarget().getParameters()));
refreshParameter();
if (evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED) {
setParameterArray(getNoRepeatParas(getTarget().getParameters()));
refreshParameter();
}
}
}

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

@ -330,8 +330,7 @@ public class WidgetPropertyPane extends FormDockView implements BaseWidgetPrope
@Override
public void fireCreatorModified(DesignerEvent evt) {
if (evt.getCreatorEventID() == DesignerEvent.CREATOR_EDITED
|| evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED
if (evt.getCreatorEventID() == DesignerEvent.CREATOR_DELETED
|| evt.getCreatorEventID() == DesignerEvent.CREATOR_RESIZED) {
formWidgetCardPane.populate();
} else if (evt.getCreatorEventID() == DesignerEvent.CREATOR_SELECTED){

Loading…
Cancel
Save