mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-11 13:28:04 +02:00
IDE: Allow Tcomponent.ValidateContainer raise an exception at design time. Issue #34445, patch from errno.
git-svn-id: trunk@59361 -
This commit is contained in:
parent
4dde2e198f
commit
07161323f3
@ -1312,7 +1312,12 @@ begin
|
||||
DebugLn(['TCustomFormEditor.CreateComponent Inline ',DbgSName(TypeClass)]);
|
||||
SetComponentInlineMode(NewComponent,true);
|
||||
end;
|
||||
NewComponent.Create(OwnerComponent);
|
||||
try
|
||||
NewComponent.Create(OwnerComponent);
|
||||
except
|
||||
NewComponent:=nil;
|
||||
raise;
|
||||
end;
|
||||
except
|
||||
on e: Exception do begin
|
||||
DumpExceptionBackTrace;
|
||||
|
Loading…
Reference in New Issue
Block a user