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
This commit is contained in:
Enrico Forestieri 2010-08-19 07:28:49 +00:00
parent d0d7db958c
commit 97fb94d90f

View File

@ -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;
}
}