mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 21:35:57 +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;
|
function TCodeBuffer.FileOnDiskHasChanged(IgnoreModifiedFlag: Boolean): boolean;
|
||||||
// file on disk has changed since last load/save
|
// file on disk has changed since last load/save
|
||||||
begin
|
begin
|
||||||
|
if IsVirtual then exit(false);
|
||||||
if IgnoreModifiedFlag then
|
if IgnoreModifiedFlag then
|
||||||
begin
|
begin
|
||||||
if FileExistsCached(Filename) then
|
if FileExistsCached(Filename) then
|
||||||
|
Loading…
Reference in New Issue
Block a user