From 25a6c26d74dc3557979639cda5df0b26dde0cb1a Mon Sep 17 00:00:00 2001 From: Martin Oberhuber < martin.oberhuber@windriver.com> Date: Mon, 10 Jul 2006 15:09:26 +0000 Subject: [PATCH] Fix NPE when working with both default and delegate wizards --- .../rse/ui/wizards/RSEDefaultNewConnectionWizardDelegate.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSEDefaultNewConnectionWizardDelegate.java b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSEDefaultNewConnectionWizardDelegate.java index eb3c89b6cc2..b76ca453e2a 100644 --- a/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSEDefaultNewConnectionWizardDelegate.java +++ b/rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/ui/wizards/RSEDefaultNewConnectionWizardDelegate.java @@ -551,7 +551,7 @@ public class RSEDefaultNewConnectionWizardDelegate extends RSENewConnectionWizar public void systemTypeChanged(IRSESystemType systemType) { setSystemType(systemType); restrictSystemType(systemType.getName()); - mainPage.setTitle(getPageTitle()); + getMainPage().setTitle(getPageTitle()); subsystemFactorySuppliedWizardPages = getAdditionalWizardPages(systemType.getName()); } } \ No newline at end of file