mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-17 06:09:15 +02:00
MG: fixed replacing form resources
git-svn-id: trunk@1959 -
This commit is contained in:
parent
b960c0b55f
commit
540bf89b62
@ -990,6 +990,7 @@ function TDesigner.GetDesignedComponent(AComponent: TComponent): TComponent;
|
||||
begin
|
||||
Result:=AComponent;
|
||||
while (Result<>nil)
|
||||
and (Result<>Form)
|
||||
and (Result.Owner<>Form)
|
||||
and (Result is TControl) do
|
||||
Result:=TControl(Result).Parent;
|
||||
|
Loading…
Reference in New Issue
Block a user