mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
IDE: Store units in project info file correctly. Issue #35377, patch from Ondrej.
git-svn-id: trunk@60993 -
This commit is contained in:
parent
580c51a113
commit
f5a5a18fe0
@ -3176,7 +3176,7 @@ begin
|
||||
for i:=0 to UnitCount-1 do
|
||||
if UnitMustBeSaved(Units[i],FProjectWriteFlags,SaveSession) then begin
|
||||
Units[i].SaveToXMLConfig(FXMLConfig,
|
||||
Path+'Units/'+FXMLConfig.GetListItemXPath('Unit', i, UseLegacyLists)+'/',True,SaveSession,fCurStorePathDelim);
|
||||
Path+'Units/'+FXMLConfig.GetListItemXPath('Unit', SaveUnitCount, UseLegacyLists)+'/',True,SaveSession,fCurStorePathDelim);
|
||||
inc(SaveUnitCount);
|
||||
end;
|
||||
FXMLConfig.SetListItemCount(Path+'Units/',SaveUnitCount,UseLegacyLists);
|
||||
|
Loading…
Reference in New Issue
Block a user