Missing invalidations of bibfile cache.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@35111 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2010-08-09 21:35:44 +00:00
parent 6aa26820fd
commit 0ac2636d28
3 changed files with 4 additions and 1 deletions

View File

@ -1747,6 +1747,7 @@ void Buffer::invalidateBibinfoCache()
void Buffer::invalidateBibfileCache()
{
d->bibfile_cache_valid_ = false;
invalidateBibinfoCache();
}
support::FileNameList const & Buffer::getBibfilesCache(UpdateScope scope) const

View File

@ -59,7 +59,7 @@ InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p)
InsetBibtex::~InsetBibtex()
{
if (isBufferLoaded())
buffer_->invalidateBibinfoCache();
buffer_->invalidateBibfileCache();
}

View File

@ -187,6 +187,8 @@ InsetInclude::InsetInclude(InsetInclude const & other)
InsetInclude::~InsetInclude()
{
if (isBufferLoaded())
buffer_->invalidateBibfileCache();
delete label_;
}