]> git.lyx.org Git - features.git/commitdiff
fix button caching bug with includeinset
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 21 Mar 2005 15:18:24 +0000 (15:18 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 21 Mar 2005 15:18:24 +0000 (15:18 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9733 a592a061-630c-0410-9148-cb99ea01b6c8

src/insets/ChangeLog
src/insets/insetinclude.C

index c4ef46a484758ac3ae46fef7c30dd79db79467ce..c7f03ff94cdfc0c9247c09a2def4e8d7e0f95ad6 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
+
+       * 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  <j.spitzmueller@gmx.de>
 
        * insettabular.C (getStatus): enable tabulator keys (bug 1836).
index 698533859cb5a4bb371ec26743aea1407d556c01..14f998ad62779ce7a216ca2fcd326682dc2f23e2 100644 (file)
@@ -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));
 }