Newly created inline math is not numbered

The bad initialisation created phantom entries in equation ToC

Fixes bug #11423.
This commit is contained in:
Jean-Marc Lasgouttes 2019-05-11 23:18:10 +02:00
parent d93d65e688
commit 175711046d

View File

@ -198,7 +198,7 @@ docstring hullName(HullType type)
static InsetLabel * dummy_pointer = 0;
InsetMathHull::InsetMathHull(Buffer * buf)
: InsetMathGrid(buf, 1, 1), type_(hullNone), numbered_(1, NUMBER),
: InsetMathGrid(buf, 1, 1), type_(hullNone), numbered_(1, NONUMBER),
numbers_(1, empty_docstring()), label_(1, dummy_pointer),
preview_(new RenderPreview(this))
{