mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-04 17:00:17 +02:00
IDE: refactor TProject.LoadBuildModes. (is the original logic correct?)
git-svn-id: trunk@45628 -
This commit is contained in:
parent
75a6bae773
commit
345f2fcb2e
@ -2719,8 +2719,8 @@ end;
|
||||
|
||||
procedure TProject.LoadBuildModes(const Path: string; LoadData: boolean);
|
||||
begin
|
||||
if FReadFlags = [prfLoadParts] then exit; // prfLoadParts, no prfLoadPartBuildModes
|
||||
if prfLoadParts in FReadFlags then begin
|
||||
if not (prfLoadPartBuildModes in FReadFlags) then exit;
|
||||
if LoadData then
|
||||
ClearBuildModes;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user