mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 10:18:05 +02:00
IDE: call OnLoadSaveCustomData only if there is CustomData
This commit is contained in:
parent
59a8e8e6c9
commit
304aa2a528
@ -2911,7 +2911,7 @@ procedure TProject.LoadCustomData(Sender: TObject; Data: TStringToStringTree;
|
||||
XMLConfig: TXMLConfig; const Path: string);
|
||||
begin
|
||||
LoadStringToStringTree(XMLConfig,Data,Path);
|
||||
if Assigned(OnLoadSafeCustomData) then
|
||||
if Assigned(OnLoadSafeCustomData) and (Data.Count>0) then
|
||||
OnLoadSafeCustomData(Sender,true,Data,fPathDelimChanged);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user