From: André Pönitz Date: Thu, 12 Aug 2004 20:52:43 +0000 (+0000) Subject: Fix #624 X-Git-Tag: 1.6.10~15108 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=dfbc58b5969ecee67b4074cb7c6d90e98f164df4;p=features.git Fix #624 git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8888 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 72a3c32525..ec3aa2c020 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -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;