mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-29 20:10:20 +02:00
fixed file check if file was deleted on disk
git-svn-id: trunk@3845 -
This commit is contained in:
parent
e0f95794b6
commit
9ecfa0902b
@ -791,7 +791,7 @@ end;
|
||||
|
||||
function TCodeBuffer.FileOnDiskHasChanged: boolean;
|
||||
begin
|
||||
if LoadDateValid then
|
||||
if LoadDateValid and FileExists(Filename) then
|
||||
Result:=(FileDateOnDisk<>LoadDate)
|
||||
else
|
||||
Result:=false;
|
||||
|
Loading…
Reference in New Issue
Block a user