fix bad copy paste, causing a reg in term auto checkdir

This commit is contained in:
Basile Burg 2020-03-11 11:02:57 +01:00
parent 0923410ffc
commit b81cb2a992
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ var
s: string;
begin
s := document.fileName.extractFileDir;
if fOpts.followProjects and s.dirExists and not SameText(s, fLastCheckedDirectory) then
if fOpts.followEditors and s.dirExists and not SameText(s, fLastCheckedDirectory) then
checkDirectory(s);
end;