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