mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Newly created inline math is not numbered
The bad initialisation created phantom entries in equation ToC Fixes bug #11423.
This commit is contained in:
parent
d93d65e688
commit
175711046d
@ -198,7 +198,7 @@ docstring hullName(HullType type)
|
|||||||
static InsetLabel * dummy_pointer = 0;
|
static InsetLabel * dummy_pointer = 0;
|
||||||
|
|
||||||
InsetMathHull::InsetMathHull(Buffer * buf)
|
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),
|
numbers_(1, empty_docstring()), label_(1, dummy_pointer),
|
||||||
preview_(new RenderPreview(this))
|
preview_(new RenderPreview(this))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user