Cocoa/ListView: in vsReport, minor fixe

This commit is contained in:
rich2014 2024-09-07 15:37:57 +08:00
parent 4bb14e680b
commit 798ea1949d

View File

@ -1774,7 +1774,7 @@ begin
case AState of
lisSelected: begin
Result:= (AIndex>=0) and (AIndex <= _tableView.numberOfRows);
Result:= (AIndex>=0) and (AIndex < _tableView.numberOfRows);
AIsSet:= lclcb.getItemStableSelection( AIndex );
end;
end;