1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 06:35:28 +02:00

[fix] bug 235084: New connection wizard can create connections of disabled type

This commit is contained in:
Uwe Stieber 2008-10-11 15:50:36 +00:00
parent 2beb24ab37
commit d4f336f20b

View file

@ -434,7 +434,7 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
String systemTypeId = dialogSettings.get(LAST_SELECTED_SYSTEM_TYPE_ID);
if (systemTypeId != null) {
IRSESystemType systemType = RSECorePlugin.getTheCoreRegistry().getSystemTypeById(systemTypeId);
if (systemType != null) {
if (systemType != null && systemType.isEnabled()) {
setSelection(new StructuredSelection(systemType));
}
}