Skip to content

Commit d1faf6b

Browse files
committed
fix: non working "Insert row" actions and its friends
Broken through my wild rage over compiler messages in f1ac6dc Refs #2360
1 parent 20aded3 commit d1faf6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/main.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5269,7 +5269,7 @@ procedure TMainForm.actDataInsertExecute(Sender: TObject);
52695269
if (Sender = actDataDuplicateRowWithoutKeys) or (Sender = actDataDuplicateRowWithKeys) then
52705270
DupeNode := Grid.FocusedNode;
52715271
RowNum := Results.InsertRow;
5272-
NewNode := Grid.InsertNode(Grid.FocusedNode, amInsertAfter, @RowNum);
5272+
NewNode := Grid.InsertNode(Grid.FocusedNode, amInsertAfter, PInt64(RowNum));
52735273
SelectNode(Grid, NewNode);
52745274
if Assigned(DupeNode) then begin
52755275
// Copy values from source row, ensure we have whole cell data

0 commit comments

Comments
 (0)