1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-24 00:33:48 +02:00

no display on worker job

This commit is contained in:
David McKnight 2006-05-31 19:28:15 +00:00
parent e8ab4fbef6
commit f1fadfdab5

View file

@ -1501,6 +1501,8 @@ public class SystemViewRemoteFileAdapter
return totalByteSize; return totalByteSize;
} }
Display display = Display.getCurrent(); Display display = Display.getCurrent();
if (display != null)
{
while (display.readAndDispatch()); while (display.readAndDispatch());
try try
{ {
@ -1510,6 +1512,7 @@ public class SystemViewRemoteFileAdapter
{ {
} }
} }
}
else else
{ {
try try