mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
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:
parent
6aa26820fd
commit
0ac2636d28
@ -1747,6 +1747,7 @@ void Buffer::invalidateBibinfoCache()
|
||||
void Buffer::invalidateBibfileCache()
|
||||
{
|
||||
d->bibfile_cache_valid_ = false;
|
||||
invalidateBibinfoCache();
|
||||
}
|
||||
|
||||
support::FileNameList const & Buffer::getBibfilesCache(UpdateScope scope) const
|
||||
|
@ -59,7 +59,7 @@ InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p)
|
||||
InsetBibtex::~InsetBibtex()
|
||||
{
|
||||
if (isBufferLoaded())
|
||||
buffer_->invalidateBibinfoCache();
|
||||
buffer_->invalidateBibfileCache();
|
||||
}
|
||||
|
||||
|
||||
|
@ -187,6 +187,8 @@ InsetInclude::InsetInclude(InsetInclude const & other)
|
||||
|
||||
InsetInclude::~InsetInclude()
|
||||
{
|
||||
if (isBufferLoaded())
|
||||
buffer_->invalidateBibfileCache();
|
||||
delete label_;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user