mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-28 18:40:52 +02:00
Converter: don't convert a unit if it was omitted in AddUnit method
git-svn-id: trunk@39688 -
This commit is contained in:
parent
91dc4fa857
commit
c806da351b
@ -1568,9 +1568,11 @@ begin
|
||||
Result:=AddUnit(fUnitsToAddToProject[i], CurUnitInfo);
|
||||
if Result=mrNo then Continue;
|
||||
if Result=mrAbort then Exit;
|
||||
Result:=ConvertOne(CurUnitInfo);
|
||||
if Result=mrIgnore then Continue;
|
||||
if Result=mrAbort then Exit;
|
||||
if Assigned(CurUnitInfo) then begin
|
||||
Result:=ConvertOne(CurUnitInfo);
|
||||
if Result=mrIgnore then Continue;
|
||||
if Result=mrAbort then Exit;
|
||||
end;
|
||||
end;
|
||||
if Result=mrOK then begin
|
||||
if fUseThreads then begin
|
||||
|
Loading…
Reference in New Issue
Block a user