Commit 572d35b0 authored by Antti Villberg's avatar Antti Villberg Committed by Tuukka Lehtonen
Browse files

Widget can be disposed in SymbolLibraryComposite

gitlab #704

(cherry picked from commit a0a24a69)
parent d961999c
......@@ -374,6 +374,8 @@ public class SymbolLibraryComposite extends Composite {
getDisplay().asyncExec(new Runnable() {
@Override
public void run() {
if(isDisposed())
return;
// Return focus only from our child components.
Control c = getDisplay().getFocusControl();
while (c != null) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment