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

[294521] Local "hidden" files and folders are always shown

This commit is contained in:
David McKnight 2010-11-30 17:04:40 +00:00
parent 2a83846d2c
commit b684f4a3e1

View file

@ -76,8 +76,7 @@ public class LocalHostFile implements IHostFile, IHostFilePermissionsContainer
public boolean isHidden()
{
String name = getName();
return name.charAt(0) == '.' || _file.isHidden();
return name.charAt(0) == '.' || (!_isRoot && _file.isHidden());
}
public String getParentPath()