mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-23 05:25:26 +00:00
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:
parent
d0d7db958c
commit
97fb94d90f
@ -1052,6 +1052,7 @@ void InsetMathHull::mutate(HullType newtype)
|
|||||||
for (row_type row = 0; row < nrows(); ++row) {
|
for (row_type row = 0; row < nrows(); ++row) {
|
||||||
if (label_[row]) {
|
if (label_[row]) {
|
||||||
label_[0] = label_[row];
|
label_[0] = label_[row];
|
||||||
|
label_[row] = 0;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user