1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-02 06:35:28 +02:00

[180671] update to original patch by Xuan

This commit is contained in:
David McKnight 2007-06-05 11:49:04 +00:00
parent 0d0ee5ddf5
commit 6ffbfb9782

View file

@ -2835,6 +2835,10 @@ public class SystemViewRemoteFileAdapter
boolean isFileCached = isFileCached(editable, remoteFile);
if (isFileCached)
{
if (openedInSamePerspective)
{
editable.setLocalResourceProperties();
}
editable.openEditor();
}
else
@ -2842,10 +2846,6 @@ public class SystemViewRemoteFileAdapter
DownloadJob oJob = new DownloadJob(editable, false);
oJob.schedule();
}
if (openedInSamePerspective && isFileCached)
{
editable.setLocalResourceProperties();
}
}
catch (Exception e)