From: Jean-Marc Lasgouttes Date: Mon, 1 Jul 2019 10:05:31 +0000 (+0200) Subject: Fixup 17571104: really avoid empty numbers in toc X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=219987c3f8cd8eca7593b0385f12cad33dd7a23c;p=features.git Fixup 17571104: really avoid empty numbers in toc For some reason, I missed this one when trying to fix the bug. Fixes bug #11423. --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 04b47d5d4a..c035e49a27 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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)) {