mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-06 19:06:11 +02:00
codetools: fixed TCodeBuffer.FileOnDiskHasChanged when IsVirtual
git-svn-id: trunk@53532 -
This commit is contained in:
parent
757e1e9e4d
commit
c7037ac0ff
@ -1474,6 +1474,7 @@ end;
|
||||
function TCodeBuffer.FileOnDiskHasChanged(IgnoreModifiedFlag: Boolean): boolean;
|
||||
// file on disk has changed since last load/save
|
||||
begin
|
||||
if IsVirtual then exit(false);
|
||||
if IgnoreModifiedFlag then
|
||||
begin
|
||||
if FileExistsCached(Filename) then
|
||||
|
Loading…
Reference in New Issue
Block a user