]> git.lyx.org Git - features.git/commitdiff
Revert "Prevent that a full source preview of a child clears the master's bibfiles...
authorRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 2 Sep 2018 01:47:11 +0000 (21:47 -0400)
committerRichard Kimberly Heck <rikiheck@lyx.org>
Sun, 2 Sep 2018 01:47:11 +0000 (21:47 -0400)
This reverts commit 4ce9e61ab137706de57a856fab3b5f9af237e5a4.

src/Buffer.cpp

index da3db82fa525ca4ea1f1efa1f22db2d955f5856c..f8b130d272a0bf8b253dbcc6bed7c2f473defd18 100644 (file)
@@ -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