mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Fix yet another thinko in the math grid paste code
This is a Hydra!
This commit is contained in:
parent
b84e497ab6
commit
d0cbcda3b9
@ -1648,8 +1648,8 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
}
|
||||
// append columns for the left over horizontal cells
|
||||
for (InsetMath::col_type c = numcols; c < grid.ncols(); ++c) {
|
||||
addCol(c + 1);
|
||||
idx_type i = index(r + startrow, c + 1);
|
||||
addCol(c + startcol);
|
||||
idx_type i = index(r + startrow, c + startcol);
|
||||
cell(i).append(grid.cell(grid.index(r, c)));
|
||||
++numcols;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user