Browse Source

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

Michaël Van Canneyt 9 tháng trước cách đây
mục cha
commit
a8345da53f
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  1. 3 1
      rtl/objpas/classes/action.inc

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

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