From 4dea27c4c74ca7b29e0b574e5e3424b3acb2ec5e Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Tue, 20 Jun 2017 01:14:55 +0200 Subject: [PATCH] Fix bug #10546 A labeled equation is also numbered. --- src/mathed/MathParser.cpp | 1 + 1 file changed, 1 insertion(+) 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))); -- 2.39.2