mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-26 18:09:23 +02:00
codetools: TFPCSourceCache.Update; do not scan if Directory empty
git-svn-id: trunk@28554 -
This commit is contained in:
parent
52060dfa52
commit
dcde33b7ef
@ -8133,7 +8133,10 @@ var
|
||||
NewFiles: TStringList;
|
||||
begin
|
||||
Valid:=false;
|
||||
NewFiles:=GatherFilesInFPCSources(Directory,OnProgress);
|
||||
if Directory<>'' then
|
||||
NewFiles:=GatherFilesInFPCSources(Directory,OnProgress)
|
||||
else
|
||||
NewFiles:=TStringList.Create;
|
||||
Update(NewFiles);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user