From: Bo Peng Date: Thu, 21 Jun 2007 18:02:51 +0000 (+0000) Subject: Fix bug 1486: copied mathed is not previewed, from Alfredo X-Git-Tag: 1.6.10~9320 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=db4c0cfec64bd996201eaf5cf582484002a806a5;p=features.git Fix bug 1486: copied mathed is not previewed, from Alfredo git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18846 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/InsetMathHull.cpp b/src/mathed/InsetMathHull.cpp index 38f0226bc7..17e83d5e7b 100644 --- a/src/mathed/InsetMathHull.cpp +++ b/src/mathed/InsetMathHull.cpp @@ -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)) {}