Browse Source

Merge pull request #526 in BA/design from ~FANGLEI/design:dev to dev

* commit '29fd9a0cfa95d479a248640fe68758252394c81b':
  表单属性的getReportMobileAttr方法的名字改成了getFormMobileAttr,这样合适一点
master
superman 8 years ago
parent
commit
86c666e441
  1. 4
      designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java

4
designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java

@ -40,14 +40,14 @@ public class FormMobileAttrAction extends JTemplateAction<JForm> {
return;
}
final Form formTpl = jf.getTarget();
FormMobileAttr mobileAttr = formTpl.getReportMobileAttr();
FormMobileAttr mobileAttr = formTpl.getFormMobileAttr();
final FormMobileAttrPane mobileAttrPane = new FormMobileAttrPane();
mobileAttrPane.populateBean(mobileAttr);
BasicDialog dialog = mobileAttrPane.showWindow(DesignerContext.getDesignerFrame(), new DialogActionAdapter() {
@Override
public void doOk() {
formTpl.setReportMobileAttr(mobileAttrPane.updateBean());
formTpl.setFormMobileAttr(mobileAttrPane.updateBean());
jf.fireTargetModified();
}
});

Loading…
Cancel
Save