From: Jean-Marc Lasgouttes Date: Mon, 21 Mar 2005 15:18:24 +0000 (+0000) Subject: fix button caching bug with includeinset X-Git-Tag: 1.6.10~14457 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=7677c92723f459f2af0b2818e67b59c2d2ed64d4;p=features.git fix button caching bug with includeinset git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9733 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/insets/ChangeLog b/src/insets/ChangeLog index c4ef46a484..c7f03ff94c 100644 --- a/src/insets/ChangeLog +++ b/src/insets/ChangeLog @@ -1,3 +1,9 @@ +2005-02-22 Jean-Marc Lasgouttes + + * insetinclude.C (InsetInclude): when constructing from another + InsetInclude, set set_label_ to false, since the value is never + copied. + 2005-03-21 Jürgen Spitzmüller * insettabular.C (getStatus): enable tabulator keys (bug 1836). diff --git a/src/insets/insetinclude.C b/src/insets/insetinclude.C index 698533859c..14f998ad62 100644 --- a/src/insets/insetinclude.C +++ b/src/insets/insetinclude.C @@ -107,7 +107,7 @@ InsetInclude::InsetInclude(InsetInclude const & other) params_(other.params_), include_label(other.include_label), preview_(new RenderMonitoredPreview(this)), - set_label_(other.set_label_) + set_label_(false) { preview_->fileChanged(boost::bind(&InsetInclude::fileChanged, this)); }