mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-26 18:35:32 +02:00
[180671] update to original patch by Xuan
This commit is contained in:
parent
0d0ee5ddf5
commit
6ffbfb9782
1 changed files with 4 additions and 4 deletions
|
@ -2835,6 +2835,10 @@ public class SystemViewRemoteFileAdapter
|
||||||
boolean isFileCached = isFileCached(editable, remoteFile);
|
boolean isFileCached = isFileCached(editable, remoteFile);
|
||||||
if (isFileCached)
|
if (isFileCached)
|
||||||
{
|
{
|
||||||
|
if (openedInSamePerspective)
|
||||||
|
{
|
||||||
|
editable.setLocalResourceProperties();
|
||||||
|
}
|
||||||
editable.openEditor();
|
editable.openEditor();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -2842,10 +2846,6 @@ public class SystemViewRemoteFileAdapter
|
||||||
DownloadJob oJob = new DownloadJob(editable, false);
|
DownloadJob oJob = new DownloadJob(editable, false);
|
||||||
oJob.schedule();
|
oJob.schedule();
|
||||||
}
|
}
|
||||||
if (openedInSamePerspective && isFileCached)
|
|
||||||
{
|
|
||||||
editable.setLocalResourceProperties();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
catch (Exception e)
|
catch (Exception e)
|
||||||
|
|
Loading…
Add table
Reference in a new issue