mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Newly created inline math is not numbered
The bad initialisation created phantom entries in equation ToC
Fixes bug #11423.
(cherry picked from commit 175711046d
)
This commit is contained in:
parent
f6c0c1ee35
commit
23505a8a91
@ -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))
|
||||
{
|
||||
|
@ -205,6 +205,9 @@ What's new
|
||||
|
||||
- Fix pre- and postnote fields in year-only biblatex-natbib citations.
|
||||
|
||||
- Get rid of spurious empty entry in list of equations when creating new
|
||||
formula (bug 11423).
|
||||
|
||||
|
||||
* INTERNALS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user