From: Enrico Forestieri Date: Mon, 19 Jun 2017 23:14:55 +0000 (+0200) Subject: Fix bug #10546 X-Git-Tag: 2.3.0beta1~227 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4dea27c4c74ca7b29e0b574e5e3424b3acb2ec5e;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 6c04d625af..b39f172fb7 100644 --- a/src/mathed/MathParser.cpp +++ b/src/mathed/MathParser.cpp @@ -1799,6 +1799,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)));