mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-10 22:56:31 +02:00
IDE: fixed crash on load lfm error
git-svn-id: trunk@64765 -
This commit is contained in:
parent
2c9ec4c1ed
commit
4fda9bfdb6
@ -6155,7 +6155,8 @@ begin
|
||||
end;
|
||||
{$ENDIF}
|
||||
|
||||
AnUnitInfo.ResourceBaseClass:=GetComponentBaseClass(NewComponent.ClassType);
|
||||
if NewComponent<>nil then
|
||||
AnUnitInfo.ResourceBaseClass:=GetComponentBaseClass(NewComponent.ClassType);
|
||||
|
||||
Project1.InvalidateUnitComponentDesignerDependencies;
|
||||
AnUnitInfo.Component:=NewComponent;
|
||||
|
Loading…
Reference in New Issue
Block a user