Fixup 17571104: really avoid empty numbers in toc

For some reason, I missed this one when trying to fix the bug.

Fixes bug #11423.

(cherry picked from commit 5a22b2e391)
This commit is contained in:
Jean-Marc Lasgouttes 2019-07-01 12:05:31 +02:00 committed by Richard Kimberly Heck
parent ad4215e462
commit c047dc64bf
2 changed files with 4 additions and 1 deletions

View File

@ -213,7 +213,7 @@ InsetMathHull::InsetMathHull(Buffer * buf)
InsetMathHull::InsetMathHull(Buffer * buf, HullType type)
: InsetMathGrid(buf, getCols(type), 1), type_(type), numbered_(1, NUMBER),
: InsetMathGrid(buf, getCols(type), 1), type_(type), numbered_(1, NONUMBER),
numbers_(1, empty_docstring()), label_(1, dummy_pointer),
preview_(new RenderPreview(this))
{

View File

@ -79,6 +79,9 @@ Avoid using text mode for unicode symbols representable in math mode (bug 9616).
- Correctly close a language opened in a branch inset (bug 9633).
- Fix additional problem with display of inline equations in outliner
(bug 11423).
* INTERNALS