1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-26 09:43:53 +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() public boolean isHidden()
{ {
String name = getName(); String name = getName();
return name.charAt(0) == '.' || _file.isHidden(); return name.charAt(0) == '.' || (!_isRoot && _file.isHidden());
} }
public String getParentPath() public String getParentPath()