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:
parent
d4c9e1702a
commit
21b5047b8c
1 changed files with 2 additions and 0 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Reference in a new issue