Mark the cache valid once we have been through updateBuffer().

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@36702 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-12-03 21:22:18 +00:00
parent dc5ade6436
commit 0114564eff

View 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();