From d4f336f20b45d74f2638e585a1775da87fecfac5 Mon Sep 17 00:00:00 2001 From: Uwe Stieber Date: Sat, 11 Oct 2008 15:50:36 +0000 Subject: [PATCH] [fix] bug 235084: New connection wizard can create connections of disabled type --- .../ui/wizards/newconnection/RSEMainNewConnectionWizard.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/newconnection/RSEMainNewConnectionWizard.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/newconnection/RSEMainNewConnectionWizard.java index a23dfc64642..757a15debb8 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/newconnection/RSEMainNewConnectionWizard.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/newconnection/RSEMainNewConnectionWizard.java @@ -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)); } }