mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-22 01:39:42 +02:00
codetools: TCOdeBuffer.LoadFromFile load when no filename is set
git-svn-id: trunk@32008 -
This commit is contained in:
parent
19ff4dd485
commit
00ea7b574c
@ -1038,7 +1038,7 @@ begin
|
||||
Result:=false;
|
||||
exit;
|
||||
end;
|
||||
if not IsVirtual then begin
|
||||
if (not IsVirtual) or (Filename='') then begin
|
||||
if CompareFilenames(AFilename,Filename)=0 then begin
|
||||
//DebugLn('****** [TCodeBuffer.LoadFromFile] ',Filename,' FileDateValid=',FileDateValid,' ',FFileDate,',',FileAgeUTF8(Filename),',',FFileChangeStep,',',ChangeStep,', NeedsUpdate=',FileNeedsUpdate);
|
||||
if FileNeedsUpdate then begin
|
||||
|
Loading…
Reference in New Issue
Block a user