From: Enrico Forestieri Date: Sun, 9 Jul 2017 21:31:33 +0000 (+0200) Subject: Fix bug #10546 X-Git-Tag: 2.2.4~101 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0237292eb148dc69cf608f612e0682c181e94891;p=features.git Fix bug #10546 A labeled equation is also numbered. --- diff --git a/src/mathed/MathParser.cpp b/src/mathed/MathParser.cpp index a2094c920e..45434e32e3 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -1789,6 +1789,7 @@ bool Parser::parse1(InsetMathGrid & grid, unsigned flags, asArray(label, ar); if (grid.asHullInset()) { grid.asHullInset()->label(cellrow, label); + grid.asHullInset()->numbered(cellrow, true); } else { cell->push_back(createInsetMath(t.cs(), buf)); cell->push_back(MathAtom(new InsetMathBrace(ar))); diff --git a/status.22x b/status.22x index 763d16a471..fbd57bd949 100644 --- a/status.22x +++ b/status.22x @@ -95,6 +95,8 @@ What's new - Avoid a case of stuck cursor after entering an inset (bug 10630). +- Don't swallow labels not entered through the toolbar in mathed (bug 10546). + * INTERNALS