Remove *.bbl and friends when invalidating the bib info cache

This avoids errors when switching engines.

The fix is already in master. We forgot to backport.
This commit is contained in:
Juergen Spitzmueller 2018-12-31 09:46:08 +01:00
parent 279e656d6a
commit 19b12518fe

View File

@ -2386,6 +2386,7 @@ void Buffer::invalidateBibinfoCache() const
{
d->bibinfo_cache_valid_ = false;
d->cite_labels_valid_ = false;
removeBiblioTempFiles();
// also invalidate the cache for the parent buffer
Buffer const * const pbuf = d->parent();
if (pbuf)