Revision 2a62fead
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.editor/src/main/java/eu/etaxonomy/taxeditor/editor/view/concept/e4/ConceptViewPartE4.java | ||
---|---|---|
54 | 54 |
if(activePart==thisPart){ |
55 | 55 |
return; |
56 | 56 |
} |
57 |
viewer.getControl().setEnabled(true); |
|
57 |
if (!viewer.getControl().isDisposed()){ |
|
58 |
viewer.getControl().setEnabled(true); |
|
59 |
} |
|
58 | 60 |
Object partObject = createPartObject(activePart); |
59 | 61 |
|
60 | 62 |
if (partObject instanceof DetailsPartE4 || partObject instanceof SupplementalDataPartE4 |
Also available in: Unified diff
avoid widgetIsDisposed exceptions by check of control is disposed