diff --git a/designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java b/designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java index 91b0822d3..4f6718708 100644 --- a/designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java +++ b/designer_form/src/com/fr/design/mainframe/actions/FormMobileAttrAction.java @@ -40,14 +40,14 @@ public class FormMobileAttrAction extends JTemplateAction { 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(); } });