]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathHull.cpp
Newly created inline math is not numbered
[features.git] / src / mathed / InsetMathHull.cpp
index 582685e4f968a512b383a13958194b16811e05c8..7e65260be4ed1268bc94582820fafecc18b3871c 100644 (file)
@@ -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))
 {