mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-13 20:15:22 +02:00
[276103] Files with names in different cases are not handled properly
This commit is contained in:
parent
06f9bbfe7d
commit
ebf19c79d2
1 changed files with 2 additions and 4 deletions
|
@ -3450,10 +3450,8 @@ public class SystemViewRemoteFileAdapter
|
||||||
Object obj = properties.getRemoteFileObject();
|
Object obj = properties.getRemoteFileObject();
|
||||||
if (obj != null && obj instanceof SystemEditableRemoteFile)
|
if (obj != null && obj instanceof SystemEditableRemoteFile)
|
||||||
{
|
{
|
||||||
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
|
SystemEditableRemoteFile rmtObj = (SystemEditableRemoteFile) obj;
|
||||||
if (rmtObj.checkOpenInEditor() != ISystemEditableRemoteObject.NOT_OPEN){ // if this is open
|
return rmtObj; // return regardless of whehter it's open - open handling is taken care of after
|
||||||
return rmtObj;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return new SystemEditableRemoteFile(remoteFile);
|
return new SystemEditableRemoteFile(remoteFile);
|
||||||
|
|
Loading…
Add table
Reference in a new issue