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
This commit is contained in:
Bo Peng 2007-06-21 18:02:51 +00:00
parent 37e2aa69f7
commit db4c0cfec6

View 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))
{}