|
|
|
@ -916,7 +916,8 @@ public class PreferencePane extends BasicPane {
|
|
|
|
|
defaultStringToFormulaBox.setSelected(false); |
|
|
|
|
} |
|
|
|
|
VcsConfigManager vcsConfigManager = designerEnvManager.getVcsConfigManager(); |
|
|
|
|
if (WorkContext.getCurrent().isCluster()) { |
|
|
|
|
//如果是集群并且是老版本则不可用
|
|
|
|
|
if (WorkContext.getCurrent().isCluster() && VcsHelper.getInstance().isLegacyMode()) { |
|
|
|
|
vcsEnableCheckBox.setEnabled(false); |
|
|
|
|
gcEnableCheckBox.setEnabled(false); |
|
|
|
|
} |
|
|
|
|