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

[fix] NPE if called from the Eclipse new element wizard dialog

This commit is contained in:
Uwe Stieber 2007-02-20 10:41:31 +00:00
parent d4c9e1702a
commit 21b5047b8c

View file

@ -132,6 +132,8 @@ public class RSEMainNewConnectionWizard extends Wizard implements INewWizard, IS
* Notify the registered selection changed listener about a changed selection.
*/
private void fireSelectionChanged() {
if (getSelection() == null) return;
SelectionChangedEvent event = new SelectionChangedEvent(this, getSelection());
Iterator iterator = selectionChangedListener.iterator();
while (iterator.hasNext()) {