mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 17:20:55 +00:00
* src/mathed/InsetMathGrid.cpp:
- fix off-by-one-error in append-column (fix bug 4323/2). This is Martin's original fix (r21430) minus the buggy renaming. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_5_X@21439 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
5c7dd90532
commit
a60f43e53a
@ -1197,7 +1197,7 @@ void InsetMathGrid::doDispatch(Cursor & cur, FuncRequest & cmd)
|
||||
row_type const r = cur.row();
|
||||
col_type const c = cur.col();
|
||||
for (int i = 0, n = extractInt(is); i < n; ++i)
|
||||
addCol(cur.col());
|
||||
addCol(cur.col() + 1);
|
||||
cur.idx() = index(r, c);
|
||||
}
|
||||
else if (s == "delete-column") {
|
||||
|
Loading…
Reference in New Issue
Block a user