Browse Source

Merge pull request #203 in DESIGN/design from ~PLOUGH/10-design:release/10.0 to release/10.0

* commit '3befb0d8ea150afcd9e719a2044308840cdfcc73':
  REPORT-9543 代码质量:将 PrintAttr 合并到 PrintConfig
master
plough 7 years ago
parent
commit
2d8710f74b
  1. 3
      designer-realize/src/main/java/com/fr/design/webattr/EditReportServerParameterPane.java

3
designer-realize/src/main/java/com/fr/design/webattr/EditReportServerParameterPane.java

@ -5,6 +5,7 @@ package com.fr.design.webattr;
import com.fr.base.ConfigManager; import com.fr.base.ConfigManager;
import com.fr.base.print.PrintSettingsAttrMark; import com.fr.base.print.PrintSettingsAttrMark;
import com.fr.config.PrintConfig;
import com.fr.config.ServerPreferenceConfig; import com.fr.config.ServerPreferenceConfig;
import com.fr.design.gui.frpane.LoadingBasicPane; import com.fr.design.gui.frpane.LoadingBasicPane;
import com.fr.design.gui.frpane.UITabbedPane; import com.fr.design.gui.frpane.UITabbedPane;
@ -109,7 +110,7 @@ public class EditReportServerParameterPane extends LoadingBasicPane {
jsPane.update(webAttr); jsPane.update(webAttr);
printSettings = printSettingPane.updateBean(); printSettings = printSettingPane.updateBean();
(ConfigManager.getProviderInstance()).getPrintAttr().setPrintSettings(printSettings); PrintConfig.getInstance().setPrintSettings(printSettings);
reportServerPreferenceConfig.setErrorTemplate(this.errorTemplatePane.updateBean()); reportServerPreferenceConfig.setErrorTemplate(this.errorTemplatePane.updateBean());
} }

Loading…
Cancel
Save