Sanitize behaviour of line break in simple math inset

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20915 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Martin Vermeer 2007-10-11 17:12:34 +00:00
parent 92ba4103e2
commit ea8c202a79

View File

@ -1056,7 +1056,7 @@ void InsetMathHull::doDispatch(Cursor & cur, FuncRequest & cmd)
bool const align =
cur.bv().buffer().params().use_amsmath == BufferParams::package_on;
mutate(align ? hullAlign : hullEqnArray);
cur.idx() = 0;
cur.idx() = nrows() * ncols() - 1;
cur.pos() = cur.lastpos();
}
InsetMathGrid::doDispatch(cur, cmd);