Revision 2a62fead
Added by Katja Luther over 6 years ago
eu.etaxonomy.taxeditor.navigation/src/main/java/eu/etaxonomy/taxeditor/navigation/search/e4/SearchResultViewE4.java | ||
---|---|---|
263 | 263 |
conversation_internal.bind(); |
264 | 264 |
} |
265 | 265 |
// pass focus to resultViewer |
266 |
if(resultViewer!=null && resultViewer.getControl()!=null){ |
|
266 |
if(resultViewer!=null && resultViewer.getControl()!=null && !resultViewer.getControl().isDisposed()){
|
|
267 | 267 |
resultViewer.getControl().setFocus(); |
268 | 268 |
} |
269 | 269 |
} |
Also available in: Unified diff
avoid widgetIsDisposed exceptions by check of control is disposed