Browse Source

* TBasicActionLink.Update must always return value. Fix issue #41070

Michaël Van Canneyt 7 months ago
parent
commit
a8345da53f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      rtl/objpas/classes/action.inc

+ 3 - 1
rtl/objpas/classes/action.inc

@@ -82,7 +82,9 @@ end;
 function TBasicActionLink.Update: Boolean;
 function TBasicActionLink.Update: Boolean;
 begin
 begin
   if Assigned(Faction) then
   if Assigned(Faction) then
-    Result := FAction.Update;
+    Result := FAction.Update
+  else
+    Result:=False;
 end;
 end;
 
 
 {****************************************************************************}
 {****************************************************************************}