mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-14 17:39:23 +02:00
fixed clicking on dsigner TDataModule
git-svn-id: trunk@9287 -
This commit is contained in:
parent
8ec5b0aee6
commit
33f05b97f4
@ -1099,7 +1099,7 @@ var
|
||||
begin
|
||||
Result:=AControl;
|
||||
if (Result=nil) or (Result=LookupRoot) or (Result.Owner=LookupRoot) then exit;
|
||||
if (Result.Owner=nil) then exit(nil);
|
||||
if (Result.Owner=nil) then exit(Result);
|
||||
if (Result.Owner is TControl) then begin
|
||||
OwnerControl:=TControl(Result.Owner);
|
||||
if csOwnedChildsSelectable in OwnerControl.ControlStyle then
|
||||
|
Loading…
Reference in New Issue
Block a user