Browse Source

Pull request #9348: REPORT-74595 设计器配置 EnvDetectConfig 规范

Merge in DESIGN/design from ~HARRISON/design:final/11.0 to final/11.0

* commit 'f8e8663b846879f4180883009843ca9d9a297452':
  REPORT-74595 设计器配置 EnvDetectConfig 规范 调整写入时机为默认
new-design
Harrison 2 years ago
parent
commit
0df66ce7ea
  1. 7
      designer-base/src/main/java/com/fr/env/detect/base/EnvDetectorConfig.java

7
designer-base/src/main/java/com/fr/env/detect/base/EnvDetectorConfig.java vendored

@ -1,6 +1,5 @@
package com.fr.env.detect.base; package com.fr.env.detect.base;
import com.fr.design.DesignerEnvManager;
import com.fr.stable.xml.XMLPrintWriter; import com.fr.stable.xml.XMLPrintWriter;
import com.fr.stable.xml.XMLable; import com.fr.stable.xml.XMLable;
import com.fr.stable.xml.XMLableReader; import com.fr.stable.xml.XMLableReader;
@ -29,12 +28,6 @@ public class EnvDetectorConfig implements XMLable {
public void setEnabled(boolean enabled) { public void setEnabled(boolean enabled) {
this.enabled = enabled; this.enabled = enabled;
save();
}
private void save() {
DesignerEnvManager.getEnvManager(false).saveXMLFile();
} }
@Override @Override

Loading…
Cancel
Save