]> git.lyx.org Git - lyx.git/commitdiff
Mark the cache valid once we have been through updateBuffer().
authorRichard Heck <rgheck@comcast.net>
Fri, 3 Dec 2010 21:22:18 +0000 (21:22 +0000)
committerRichard Heck <rgheck@comcast.net>
Fri, 3 Dec 2010 21:22:18 +0000 (21:22 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36702 a592a061-630c-0410-9148-cb99ea01b6c8

src/Buffer.cpp

index 3884c0c0576da6fab7bbd249c7f5bcc4bd88094a..230d75b4038108c261b83fd086844e6bdfd2c2b6 100644 (file)
@@ -3911,6 +3911,7 @@ void Buffer::updateBuffer(UpdateScope scope, UpdateType utype) const
                // TocBackend update will be done later.
                return;
 
+       d->bibinfo_cache_valid_ = true;
        cbuf.tocBackend().update();
        if (scope == UpdateMaster)
                cbuf.structureChanged();