mirror of https://gitlab.com/basile.b/dexed.git
hidden folders handled by search routines
This commit is contained in:
parent
df8c816086
commit
edb85ef714
|
@ -497,7 +497,7 @@ procedure listFolders(const aList: TStrings; const aPath: string);
|
||||||
var
|
var
|
||||||
sr: TSearchrec;
|
sr: TSearchrec;
|
||||||
begin
|
begin
|
||||||
if findFirst(aPath + '*', faDirectory, sr) = 0 then
|
if findFirst(aPath + '*', faAnyFile, sr) = 0 then
|
||||||
try
|
try
|
||||||
repeat if isFolder(sr) then
|
repeat if isFolder(sr) then
|
||||||
aList.Add(aPath + sr.Name);
|
aList.Add(aPath + sr.Name);
|
||||||
|
|
Loading…
Reference in New Issue