From 3f190c2a2ac7eb89e421a5a700e897d44a518f92 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Tue, 29 Oct 2002 13:22:43 +0000 Subject: [PATCH] suppress writeing of \label if \nonumber is given git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5539 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/math_hullinset.C | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 304b0ecade..a8379752f5 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -624,7 +624,7 @@ string MathHullInset::eolString(row_type row, bool fragile) const { string res; if (numberedType()) { - if (!label_[row].empty()) + if (!label_[row].empty() && !nonum_[row]) res += "\\label{" + label_[row] + "}"; if (nonum_[row]) res += "\\nonumber "; -- 2.39.5