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:
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);
|
||||
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)
|
||||
|
|
Loading…
Add table
Reference in a new issue