]> git.lyx.org Git - features.git/commitdiff
Fixup 17571104: really avoid empty numbers in toc
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 1 Jul 2019 10:05:31 +0000 (12:05 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 1 Jul 2019 10:05:31 +0000 (12:05 +0200)
For some reason, I missed this one when trying to fix the bug.

Fixes bug #11423.

src/mathed/InsetMathHull.cpp

index 04b47d5d4a822d14af7786bae8a1f1b9cd267f35..c035e49a27b5cb745c43c5c47dfd496aadae2c5e 100644 (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))
 {