* math_hullinset.C (numbered): clear the label when unnumbering

(workaround for bug 2556).



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16734 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-01-17 16:18:02 +00:00
parent 798af7d8f3
commit 6f8c2a51f5

View File

@ -438,6 +438,8 @@ void InsetMathHull::label(row_type row, docstring const & label)
void InsetMathHull::numbered(row_type row, bool num) void InsetMathHull::numbered(row_type row, bool num)
{ {
nonum_[row] = !num; nonum_[row] = !num;
if (nonum_[row])
label_[row].clear();
} }