Browse Source

Merge pull request #9359 in DESIGN/design from bugfix/11.0 to feature/x

* commit 'e2eefd70653f72d6ce3cad74a67f7264d84894c1':
  REPORT-74595 设计器配置 EnvDetectConfig 规范 调整写入时机为默认
feature/x
superman 3 years ago
parent
commit
912d9ce43c
  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