Browse Source

Merge pull request #9358 in DESIGN/design from release/11.0 to bugfix/11.0

* commit '56f9006365ecc860f8031aeeb1a5442895e3f5fe':
  REPORT-74595 设计器配置 EnvDetectConfig 规范 调整写入时机为默认
bugfix/11.0
superman 2 years ago
parent
commit
e2eefd7065
  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;
import com.fr.design.DesignerEnvManager;
import com.fr.stable.xml.XMLPrintWriter;
import com.fr.stable.xml.XMLable;
import com.fr.stable.xml.XMLableReader;
@ -29,12 +28,6 @@ public class EnvDetectorConfig implements XMLable {
public void setEnabled(boolean enabled) {
this.enabled = enabled;
save();
}
private void save() {
DesignerEnvManager.getEnvManager(false).saveXMLFile();
}
@Override

Loading…
Cancel
Save