Browse Source

REPORT-72828 启动页配置项屏蔽

feature/x
hades 2 years ago
parent
commit
49cb03866e
  1. 8
      designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

8
designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

@ -242,8 +242,8 @@ public class PreferencePane extends BasicPane {
createLanPane(generalPane); createLanPane(generalPane);
createStartupPagePane(generalPane); // 先屏蔽下
// createStartupPagePane(generalPane);
createLengthPane(advancePane); createLengthPane(advancePane);
createServerPane(advancePane); createServerPane(advancePane);
@ -854,7 +854,7 @@ public class PreferencePane extends BasicPane {
previewResolutionBtnM.setEnabled(enabled); previewResolutionBtnM.setEnabled(enabled);
this.cloudAnalyticsDelayCheckBox.setSelected(designerEnvManager.isCloudAnalyticsDelay()); this.cloudAnalyticsDelayCheckBox.setSelected(designerEnvManager.isCloudAnalyticsDelay());
this.startupPageEnabledCheckBox.setSelected(designerEnvManager.isStartupPageEnabled()); // this.startupPageEnabledCheckBox.setSelected(designerEnvManager.isStartupPageEnabled());
} }
private int chooseCase(int sign) { private int chooseCase(int sign) {
@ -921,7 +921,7 @@ public class PreferencePane extends BasicPane {
vcsConfigManager.setVcsEnable(this.vcsEnableCheckBox.isSelected()); vcsConfigManager.setVcsEnable(this.vcsEnableCheckBox.isSelected());
vcsConfigManager.setSaveCommit(this.saveCommitCheckBox.isSelected()); vcsConfigManager.setSaveCommit(this.saveCommitCheckBox.isSelected());
vcsConfigManager.setUseInterval(this.useIntervalCheckBox.isSelected()); vcsConfigManager.setUseInterval(this.useIntervalCheckBox.isSelected());
designerEnvManager.setStartupPageEnabled(this.startupPageEnabledCheckBox.isSelected()); // designerEnvManager.setStartupPageEnabled(this.startupPageEnabledCheckBox.isSelected());
Configurations.update(new Worker() { Configurations.update(new Worker() {
@Override @Override
public void run() { public void run() {

Loading…
Cancel
Save