From 804336d94c3b25f0aed0ab79bd180f90b21f6f8f Mon Sep 17 00:00:00 2001 From: Richard Kimberly Heck Date: Sat, 1 Sep 2018 21:47:11 -0400 Subject: [PATCH] Revert "Prevent that a full source preview of a child clears the master's bibfiles cache." This reverts commit 4ce9e61ab137706de57a856fab3b5f9af237e5a4. --- src/Buffer.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Buffer.cpp b/src/Buffer.cpp index da3db82fa5..f8b130d272 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4727,9 +4727,8 @@ void Buffer::updateBuffer(UpdateScope scope, UpdateType utype) const DocumentClass const & textclass = master->params().documentClass(); FileNamePairList old_bibfiles; - // Do this only if we are the top-level Buffer. We also need to account - // for the case of a previewed child with ignored parent here. - if (master == this && !d->ignore_parent) { + // do this only if we are the top-level Buffer + if (master == this) { textclass.counters().reset(from_ascii("bibitem")); reloadBibInfoCache(); // we will re-read this cache as we go through, but we need -- 2.39.5