From 6f8c2a51f5ef44f01abbcd8a90b03f4d1c1933de Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Wed, 17 Jan 2007 16:18:02 +0000 Subject: [PATCH] * 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 --- src/mathed/InsetMathHull.C | 2 ++ 1 file changed, 2 insertions(+) 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(); }