Browse Source

REPORT-74595 设计器配置 EnvDetectConfig 规范

调整写入时机为默认
new-design
Harrison 2 years ago
parent
commit
f8e8663b84
  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