1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00

Use default display rather than the shell for the listener - since listener.getShell() can't work off the main thread.

fix for defect 150919
This commit is contained in:
David McKnight 2006-07-31 20:25:19 +00:00
parent f556980f52
commit fd2e5014bb

View file

@ -43,7 +43,9 @@ public class SystemPostableEventNotifier implements Runnable
{
this.event = event;
this.listener = listener;
Display d = listener.getShell().getDisplay();
// fix for 150919
Display d = Display.getDefault();
//Display d = listener.getShell().getDisplay();
//d.asyncExec(this);
d.syncExec(this);
}