MaiXinRong 5 år sedan
förälder
incheckning
0a711f0730
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1 1
      Frames/BGLFme.pas

+ 1 - 1
Frames/BGLFme.pas

@@ -293,7 +293,7 @@ end;
 procedure TBGLFrame.zaBGLGridCellCanEdit(Sender: TObject;
   const ACoord: TPoint; var Allow: Boolean);
 begin
-  if _IsCloud and Allow and ACoord.Y < FBGLData.cdsBGLView.RecordCount then
+  if _IsCloud and Allow and (ACoord.Y <= FBGLData.cdsBGLView.RecordCount) then
     Allow := FBGLData.GetBGLCanEdit(ACoord.Y - zgBGL.FixedRowCount);
 end;