git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8888 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2004-08-12 20:52:43 +00:00
parent b40892a2ee
commit dfbc58b596

View File

@ -903,12 +903,12 @@ void MathHullInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
break;
case LFUN_BREAKLINE:
// some magic for the common case
if (type_ == "simple" || type_ == "equation") {
recordUndoInset(cur);
mutate("eqnarray");
cur.idx() = 0;
cur.pos() = cur.lastpos();
break;
}
MathGridInset::priv_dispatch(cur, cmd);
break;