From: Jean-Marc Lasgouttes Date: Wed, 17 Jan 2007 16:18:02 +0000 (+0000) Subject: * math_hullinset.C (numbered): clear the label when unnumbering X-Git-Tag: 1.6.10~11158 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=6f8c2a51f5ef44f01abbcd8a90b03f4d1c1933de;p=features.git * 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 --- diff --git a/src/mathed/InsetMathHull.C b/src/mathed/InsetMathHull.C index fc979083db..b9c2b241fb 100644 --- a/src/mathed/InsetMathHull.C +++ b/src/mathed/InsetMathHull.C @@ -438,6 +438,8 @@ void InsetMathHull::label(row_type row, docstring const & label) void InsetMathHull::numbered(row_type row, bool num) { nonum_[row] = !num; + if (nonum_[row]) + label_[row].clear(); }