From: Enrico Forestieri Date: Thu, 19 Aug 2010 07:28:49 +0000 (+0000) Subject: Fix crash when mutating eqnarray-like environments with labeled lines X-Git-Tag: 2.0.0~2780 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=97fb94d90fddb47a49f5d7c8c06304ce01b51346;p=features.git Fix crash when mutating eqnarray-like environments with labeled lines to display equations. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35163 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 980801d84d..4fd4afe992 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -1052,6 +1052,7 @@ void InsetMathHull::mutate(HullType newtype) for (row_type row = 0; row < nrows(); ++row) { if (label_[row]) { label_[0] = label_[row]; + label_[row] = 0; break; } }