Project

General

Profile

« Previous | Next » 

Revision a062eb51

Added by Patrick Plitzner over 9 years ago

  • fixed possible NPE

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/detail/DetailsViewer.java
391 391
    @Override
392 392
    public void setSelection(ISelection selection, boolean reveal) {
393 393
        this.selection = selection;
394
        SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, selection);
395
        fireSelectionChanged(selectionChangedEvent);
394
        if(this.selection!=null){
395
            SelectionChangedEvent selectionChangedEvent = new SelectionChangedEvent(this, selection);
396
            fireSelectionChanged(selectionChangedEvent);
397
        }
396 398
    }
397 399

  
398 400
    /**

Also available in: Unified diff