mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-16 10:19:36 +02:00
IDE: designer: check result of AddClicked
git-svn-id: trunk@45048 -
This commit is contained in:
parent
af1b32c183
commit
43ebc91b4e
@ -2191,8 +2191,8 @@ var
|
||||
|
||||
// find a parent for the new component
|
||||
NewParent:=nil;
|
||||
PropertyEditorHook.AddClicked(Self,MouseDownComponent,Button,Shift,
|
||||
MouseUpPos.X,MouseUpPos.Y,NewComponentClass,NewParent);
|
||||
if not PropertyEditorHook.AddClicked(Self,MouseDownComponent,Button,Shift,
|
||||
MouseUpPos.X,MouseUpPos.Y,NewComponentClass,NewParent) then exit;
|
||||
if Mediator<>nil then begin
|
||||
// mediator, non LCL components
|
||||
if NewParent=nil then
|
||||
|
Loading…
Reference in New Issue
Block a user