mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 21:40:19 +00:00
Fix #624
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8888 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
b40892a2ee
commit
dfbc58b596
@ -903,12 +903,12 @@ void MathHullInset::priv_dispatch(LCursor & cur, FuncRequest & cmd)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LFUN_BREAKLINE:
|
case LFUN_BREAKLINE:
|
||||||
|
// some magic for the common case
|
||||||
if (type_ == "simple" || type_ == "equation") {
|
if (type_ == "simple" || type_ == "equation") {
|
||||||
recordUndoInset(cur);
|
recordUndoInset(cur);
|
||||||
mutate("eqnarray");
|
mutate("eqnarray");
|
||||||
cur.idx() = 0;
|
cur.idx() = 0;
|
||||||
cur.pos() = cur.lastpos();
|
cur.pos() = cur.lastpos();
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
MathGridInset::priv_dispatch(cur, cmd);
|
MathGridInset::priv_dispatch(cur, cmd);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user