From c992173f4c86cdc5a15f7edda01cfeaa33c6dfe8 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 9 Jul 2007 10:33:27 +0000 Subject: [PATCH] * 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 --- src/mathed/ChangeLog | 5 +++++ src/mathed/math_hullinset.C | 2 +- status.14x | 2 ++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/mathed/ChangeLog b/src/mathed/ChangeLog index 1088bc57a9..9fde9012b6 100644 --- a/src/mathed/ChangeLog +++ b/src/mathed/ChangeLog @@ -1,3 +1,8 @@ +2007-07-09 Jean-Marc Lasgouttes + + * 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 * math_nestinset.C (getStatus): disallow insertion of special char diff --git a/src/mathed/math_hullinset.C b/src/mathed/math_hullinset.C index 3f79fb9ae2..2a2f65bf51 100644 --- a/src/mathed/math_hullinset.C +++ b/src/mathed/math_hullinset.C @@ -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)) {} diff --git a/status.14x b/status.14x index 9a35d81dc1..4d60b907fd 100644 --- a/status.14x +++ b/status.14x @@ -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).