diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index d03eca9c53..0eb7241f4c 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -412,7 +412,9 @@ ColorCode InsetMathHull::standardColor() const bool InsetMathHull::previewState(BufferView * bv) const { - if (!editing(bv) && RenderPreview::status() == LyXRC::PREVIEW_ON) { + if (!editing(bv) && RenderPreview::status() == LyXRC::PREVIEW_ON + && type_ != hullRegexp) + { graphics::PreviewImage const * pimage = preview_->getPreviewImage(bv->buffer()); return pimage && pimage->image();