1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-01 21:35:40 +02:00

Bug 478549 - Add null pointer check

Change-Id: Ic7bf5e217d8def75054a86c0bccde5a3669f5d32
Signed-off-by: Greg Watson <g.watson@computer.org>
This commit is contained in:
Greg Watson 2015-09-28 10:01:27 -04:00
parent e1651ff166
commit 4f4bfbfca8

View file

@ -243,6 +243,7 @@ public class ConnectionsPreferencePage extends PreferencePage implements IWorkbe
}
performOk();
}
if (fUIConnectionManager != null) {
IRemoteUIConnectionWizard wizard = fUIConnectionManager.getConnectionWizard(getShell());
if (wizard != null) {
wizard.setConnectionName(initialConnectionName());
@ -257,6 +258,7 @@ public class ConnectionsPreferencePage extends PreferencePage implements IWorkbe
}
}
}
}
/**
* Create the contents for this page