Explorar el Código

* GotoBookmark checks that bookmark is valid.

michael hace 6 años
padre
commit
5012b557ae
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      packages/fcl-db/db.pas

+ 1 - 1
packages/fcl-db/db.pas

@@ -4372,7 +4372,7 @@ procedure TDataSet.GotoBookmark(const ABookmark: TBookmark);
 
 
 begin
-  If Assigned(ABookMark) then
+  If Not IsNull(ABookMark.Data) then
     begin
     CheckBrowseMode;
     DoBeforeScroll;