Browse Source

Merge pull request #9357 in DESIGN/design from final/11.0 to release/11.0

* commit '0df66ce7ea49f4b675095f98e46ebdb05f21aeb8':
  REPORT-74595 设计器配置 EnvDetectConfig 规范 调整写入时机为默认
newui
superman 2 years ago
parent
commit
56f9006365
  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