|
|
@ -305,7 +305,7 @@ public class PreferencePane extends BasicPane { |
|
|
|
gcButton.setEnabled(gcEnableCheckBox.isSelected()); |
|
|
|
gcButton.setEnabled(gcEnableCheckBox.isSelected()); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
|
|
|
|
gcEnableCheckBox.setSelected(GcConfig.getInstance().isGcEnable()); |
|
|
|
//集群下禁用
|
|
|
|
//集群下禁用
|
|
|
|
if (ClusterBridge.isClusterMode()) { |
|
|
|
if (ClusterBridge.isClusterMode()) { |
|
|
|
gcEnableCheckBox.setEnabled(false); |
|
|
|
gcEnableCheckBox.setEnabled(false); |
|
|
|