mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-27 16:47:17 +01:00
* Additional check on action.
This commit is contained in:
parent
68acd78640
commit
15ba298bae
@ -45,6 +45,8 @@ end;
|
||||
|
||||
function TBasicActionLink.Execute(AComponent: TComponent): Boolean;
|
||||
begin
|
||||
if not Assigned(FAction) then
|
||||
exit;
|
||||
FAction.ActionComponent := AComponent;
|
||||
try
|
||||
Result := FAction.Execute;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user