>>>>> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:

Georg> Jean-Marc Lasgouttes wrote:
>> 2556 regression not possible to delete a label of a formula

Georg> I would not postpone 1.4.2 because of this, since there is a
Georg> workaround. If somebody has a reasonable fix: put it in,
Georg> otherwise I would schedule this for later.

Some time ago, you proposed the following fix. Thanking about it, I am
not sure we want to do that. Currently, numbering and labels are not
coupled. If we want to couple them, it should be done deeper, I think.

I'll attach the patch to the bug and retarget it to 1.4.x.

JMarc

Index: src/mathed/math_hullinset.C
===================================================================
--- src/mathed/math_hullinset.C	(Revision 13913)
+++ src/mathed/math_hullinset.C	(Arbeitskopie)
@@ -411,6 +411,8 @@ void MathHullInset::label(row_type row, 
 void MathHullInset::numbered(row_type row, bool num)
 {
 	nonum_[row] = !num;
+	if (nonum_[row])
+		label_[row].clear();
 }
 
 

Reply via email to