]> git.lyx.org Git - features.git/commitdiff
Revert r33714: It causes bug #6588.
authorVincent van Ravesteijn <vfr@lyx.org>
Mon, 15 Mar 2010 08:55:58 +0000 (08:55 +0000)
committerVincent van Ravesteijn <vfr@lyx.org>
Mon, 15 Mar 2010 08:55:58 +0000 (08:55 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33742 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp
src/insets/InsetLabel.cpp

index e4e96affa31334293a17313bad5ae93d98fdfe33..1da4d9912a64269bf6c775f2d0f97696540ac15f 100644 (file)
@@ -3868,8 +3868,7 @@ void Buffer::updateBuffer(ParIterator & parit, UpdateType utype) const
                InsetList::const_iterator end = parit->insetList().end();
                for (; iit != end; ++iit) {
                        parit.pos() = iit->pos;
-                       if (!parit->isDeleted(iit->pos))
-                               iit->inset->updateBuffer(parit, utype);
+                       iit->inset->updateBuffer(parit, utype);
                }
        }
 }
index 8ea19e4306ec52e751dcfaf714c9cc1927690752..7edd1aaca832936bdb61baf4706ff93455bae29b 100644 (file)
@@ -50,9 +50,7 @@ namespace lyx {
 
 InsetLabel::InsetLabel(Buffer * buf, InsetCommandParams const & p)
        : InsetCommand(buf, p, "label")
-{
-       screen_label_ = p["name"];
-}
+{}
 
 
 void InsetLabel::initView()
@@ -103,7 +101,6 @@ void InsetLabel::updateCommand(docstring const & new_label, bool updaterefs)
        // We need an update of the Buffer reference cache. This is achieved by
        // updateBuffer().
        buffer().updateBuffer();
-       screen_label_ = label;
 }