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:
parent
2beb24ab37
commit
d4f336f20b
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue