Browse Source

REPORT-100633 【版本管理二期】取消勾选备注的版本不会被清理,备注的版本还是不会被清理

newui
Destiny.Lin 1 year ago
parent
commit
14f50ff342
  1. 3
      designer-base/src/main/java/com/fr/design/actions/file/PreferencePane.java

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

@ -467,7 +467,9 @@ public class PreferencePane extends BasicPane {
});
vcsPane.add(enableVcsPanel);
vcsPane.add(intervalPanel);
if (VcsHelper.getInstance().isLegacyMode()) {
vcsPane.add(saveCommitCheckBox);
}
vcsPane.add(autoCleanPane);
boolean support = VcsHelper.getInstance().checkV2FunctionSupport();
saveIntervalPane.setVisible(support);
@ -491,6 +493,7 @@ public class PreferencePane extends BasicPane {
saveIntervalPane.setVisible(useV2);
autoCleanPane.setVisible(useV2);
gcControlPane.setVisible(!useV2);
saveCommitCheckBox.setVisible(!useV2);
useVcsAutoCleanScheduleCheckBox.setSelected(useV2);
useVcsAutoSaveScheduleCheckBox.setSelected(useV2);
boolean useAutoClean =useV2 && FineScheduler.getInstance().isStarted();

Loading…
Cancel
Save