A labeled equation is also numbered.
This commit is contained in:
Enrico Forestieri 2017-07-09 23:31:33 +02:00
parent 4fbb0f1770
commit 0237292eb1
2 changed files with 3 additions and 0 deletions

View File

@ -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)));

View File

@ -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