Browse Source

Merge pull request #162 in BA/design from ~XIAXIANG/design1:dev to dev

* commit '2c0ed8294e89bedcdd4cd47c2b7571e49d590946':
  rt
  rt
  rt
  rt
  rt
master
superman 9 years ago
parent
commit
8939810316
  1. 2
      designer_form/src/com/fr/design/mainframe/actions/TemplateParameterAction.java

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

@ -8,6 +8,7 @@ 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.*;
@ -49,6 +50,7 @@ public class TemplateParameterAction extends JTemplateAction<JForm> {
wbTpl.addParameter(parameters[i]); wbTpl.addParameter(parameters[i]);
} }
jwb.fireTargetModified(); jwb.fireTargetModified();
ParameterPropertyPane.getInstance().getParameterToolbarPane().populateBean(parameters);
} }
}); });
parameterArrayDialog.setVisible(true); parameterArrayDialog.setVisible(true);

Loading…
Cancel
Save