Refine fix for bug #6793 such as to avoid the problem reported in #6967.

No status.16x entry is necessary.


git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35875 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2010-10-27 23:21:54 +00:00
parent 43ef39c2ca
commit 547801393a

View File

@ -865,8 +865,7 @@ void InsetMathHull::glueall(HullType type)
}
}
*this = InsetMathHull(buffer_, hullSimple);
if (label)
label_[0] = label;
label_[0] = label;
cell(0) = ar;
setDefaults();
}
@ -977,6 +976,7 @@ void InsetMathHull::mutate(HullType newtype)
numbered(0, false);
} else {
setType(hullEquation);
numbered(0, label_[0] ? true : false);
mutate(newtype);
}
}