Project

General

Profile

« Previous | Next » 

Revision 45b1b0d5

Added by Katja Luther over 8 years ago

fix #5421

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/AbstractCdmViewPart.java
109 109
        this.part = part;
110 110

  
111 111
        Object element = selection.getFirstElement();
112
        	getViewer().setInput(element);
113
        	showViewer();
112
      //avoid widget is disposed exceptions
113
        if (getViewer().getControl().isDisposed()){
114
            return;
115
        }
116
        getViewer().setInput(element);
117
        showViewer();
114 118
    }
115 119

  
116 120
    /**

Also available in: Unified diff