From e279f7bbb83bdea2a399a479bf9f5777b6abaf2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Thu, 8 Aug 2002 12:45:38 +0000 Subject: [PATCH] Herbert's multline patch git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4900 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_hullinset.C | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 0114359321..361c241ea1 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -515,7 +515,11 @@ void MathHullInset::mutate(string const & newtype) } setType("eqnarray"); mutate(newtype); - } else { + } else if (newtype == "multline" || newtype == "gather") { + setType("multline"); + numbered(0, false); + mutate(newtype); + } else { MathGridInset::addCol(1); // split it "nicely" pos_type pos = firstRelOp(cell(0)); -- 2.39.2