mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
Ensure we have full grid cells in source row when user clicks "Duplicate row". Fixes issue #1678.
This commit is contained in:
@@ -7152,7 +7152,9 @@ begin
|
||||
DataGridResult.Rows[i].Cells[j].Text := '';
|
||||
end;
|
||||
if Assigned(CopyValuesFromNode) then begin
|
||||
// Copy values from source row
|
||||
// Copy values from source row, ensure we have whole cell data
|
||||
for j:=0 to DataGrid.Header.Columns.Count-1 do
|
||||
EnsureFullWidth(DataGrid, j, CopyValuesFromNode);
|
||||
OldRow := DataGridResult.Rows[CopyValuesFromNode.Index];
|
||||
for j:=0 to DataGrid.Header.Columns.Count-1 do begin
|
||||
if not (coVisible in DataGrid.Header.Columns[j].Options) then
|
||||
|
||||
Reference in New Issue
Block a user