mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-13 01:08:45 +00:00
* src/mathed/math_gridinset.C
(doDispatch): fix off by one error when checking cur.idx() (bug 2655) git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@14187 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
af9295c7ea
commit
332a0fef95
@ -1134,7 +1134,7 @@ void MathGridInset::doDispatch(LCursor & cur, FuncRequest & cmd)
|
||||
else if (s == "delete-row") {
|
||||
for (int i = 0, n = extractInt(is); i < n; ++i) {
|
||||
delRow(cur.row());
|
||||
if (cur.idx() > nargs())
|
||||
if (cur.idx() >= nargs())
|
||||
cur.idx() -= ncols();
|
||||
}
|
||||
cur.pos() = 0; // trick, see below
|
||||
|
@ -86,6 +86,8 @@ What's new
|
||||
|
||||
- Fix undo in matrices.
|
||||
|
||||
- Fix crash when deleting last row of an equation (bug 2655)
|
||||
|
||||
* User Interface:
|
||||
|
||||
- Much better performance when using natbib/jurabib citations (bug 2460).
|
||||
|
Loading…
Reference in New Issue
Block a user