Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Find/replace overlay: avoid attempt to set focus while disposing overlay
When closing a find/replace overlay, the SWT dispose operations try to set focus to some remaining widget. The HistoryTextWrapper tries to pass this operation to the contained Text widget without validating it for already being disposed (which is the case when closing the overlay), thus potentially leading to exception. This change ensures that before trying to set focus on the Text widget of a HistoryTextWrapper that widget is validated for not being disposed.
- Loading branch information