mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 21:49:15 +02:00
* Check if action is assigned before calling update on it
This commit is contained in:
parent
43660084b6
commit
2accac30ae
@ -79,7 +79,8 @@ end;
|
|||||||
|
|
||||||
function TBasicActionLink.Update: Boolean;
|
function TBasicActionLink.Update: Boolean;
|
||||||
begin
|
begin
|
||||||
Result := FAction.Update;
|
if Assigned(Faction) then
|
||||||
|
Result := FAction.Update;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
{****************************************************************************}
|
{****************************************************************************}
|
||||||
|
Loading…
Reference in New Issue
Block a user