From 0237292eb148dc69cf608f612e0682c181e94891 Mon Sep 17 00:00:00 2001 From: Enrico Forestieri Date: Sun, 9 Jul 2017 23:31:33 +0200 Subject: [PATCH] Fix bug #10546 A labeled equation is also numbered. --- src/mathed/MathParser.cpp | 1 + status.22x | 2 ++ 2 files changed, 3 insertions(+) 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 -- 2.39.5