LCL: Workaround for RTL / init result - ActionLink nil deref issue (fixed in FPC 3.3.1). See issue #41063

This commit is contained in:
Martin 2024-12-19 11:48:00 +01:00
parent d9ba51bbe9
commit 51da4aa0c4

View File

@ -124,6 +124,7 @@ end;
function TActionLink.Update: Boolean;
begin
{$IF FPC_Fullversion<30301} // Workaround for issue #41063 / Partial fix for actionlinks that inherit TActionLink only
Result := False;
if Assigned(Action) then
{$ENDIF}
Result := inherited Update;