]> git.lyx.org Git - features.git/commitdiff
Fix bug 1486: copied mathed is not previewed, from Alfredo
authorBo Peng <bpeng@lyx.org>
Thu, 21 Jun 2007 18:02:51 +0000 (18:02 +0000)
committerBo Peng <bpeng@lyx.org>
Thu, 21 Jun 2007 18:02:51 +0000 (18:02 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18846 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/InsetMathHull.cpp

index 38f0226bc77fd97799cf8bef6f9f7be1239f6e1d..17e83d5e7b2f12ed852685762d3b009d2c8ca445 100644 (file)
@@ -182,7 +182,7 @@ InsetMathHull::InsetMathHull(HullType type)
 InsetMathHull::InsetMathHull(InsetMathHull const & other)
        : InsetMathGrid(other),
          type_(other.type_), nonum_(other.nonum_), label_(other.label_),
-         preview_(new RenderPreview(this))
+         preview_(new RenderPreview(*other.preview_, this))
 {}