From 97fb94d90fddb47a49f5d7c8c06304ce01b51346 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Thu, 19 Aug 2010 07:28:49 +0000 Subject: [PATCH] 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 --- src/mathed/InsetMathHull.cpp | 1 + 1 file changed, 1 insertion(+) 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; } } -- 2.39.2