Project

General

Profile

« Previous | Next » 

Revision 2a62fead

Added by Katja Luther over 6 years ago

avoid widgetIsDisposed exceptions by check of control is disposed

View differences:

eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/derivate/DerivateView.java
368 368
        if(cdmEntitySession != null) {
369 369
            cdmEntitySession.bind();
370 370
        }
371
        if(viewer!=null) {
371
        if(viewer!=null && !viewer.getControl().isDisposed()) {
372 372
            viewer.getControl().setFocus();
373 373
            selService.setSelection(viewer.getSelection());
374 374
        }

Also available in: Unified diff