* math_hullinset.C (MathHullInset): do not lose the preview when

copying formulas (bug 1486) [patch from Bo peng]



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@19011 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2007-07-09 10:33:27 +00:00
parent 2007e23c10
commit c992173f4c
3 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-07-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* math_hullinset.C (MathHullInset): do not lose the preview when
copying formulas (bug 1486) [patch from Bo peng]
2007-05-18 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* math_nestinset.C (getStatus): disallow insertion of special char

View File

@ -160,7 +160,7 @@ MathHullInset::MathHullInset(string const & type)
MathHullInset::MathHullInset(MathHullInset const & other)
: MathGridInset(other),
type_(other.type_), nonum_(other.nonum_), label_(other.label_),
preview_(new RenderPreview(this))
preview_(new RenderPreview(*other.preview_, this))
{}

View File

@ -60,6 +60,8 @@ What's new
- Fix display of Theorem-like environments when in appendix (bug 3351)
- Properly keep existing previews when pasting formulas (bug 1486).
- Fix display of math root inset when the exponent contains large
things (bug 3295).