xiaxiang 9 years ago
parent
commit
647ec07504
  1. 3
      designer_form/src/com/fr/design/mainframe/actions/TemplateParameterAction.java

3
designer_form/src/com/fr/design/mainframe/actions/TemplateParameterAction.java

@ -8,7 +8,6 @@ import com.fr.design.dialog.DialogActionAdapter;
import com.fr.design.mainframe.JForm; import com.fr.design.mainframe.JForm;
import com.fr.design.menu.KeySetUtils; import com.fr.design.menu.KeySetUtils;
import com.fr.design.parameter.ParameterArrayPane; import com.fr.design.parameter.ParameterArrayPane;
import com.fr.design.parameter.ParameterPropertyPane;
import com.fr.form.main.Form; import com.fr.form.main.Form;
import javax.swing.*; import javax.swing.*;
@ -51,7 +50,7 @@ public class TemplateParameterAction extends JTemplateAction<JForm> {
} }
jwb.fireTargetModified(); jwb.fireTargetModified();
jwb.getFormDesign().setParameterArray(parameters); jwb.getFormDesign().setParameterArray(parameters);
ParameterPropertyPane.getInstance().getParameterToolbarPane().populateBean(parameters); jwb.getFormDesign().refreshParameter();
} }
}); });
parameterArrayDialog.setVisible(true); parameterArrayDialog.setVisible(true);

Loading…
Cancel
Save