From: Juergen Spitzmueller Date: Tue, 27 Mar 2018 12:29:25 +0000 (+0200) Subject: Prevent that a full source preview of a child clears the master's bibfiles cache. X-Git-Tag: 2.3.1~127 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=4ce9e61ab137706de57a856fab3b5f9af237e5a4;p=features.git Prevent that a full source preview of a child clears the master's bibfiles cache. See #9158 (cherry picked from commit a9a7f384885541bdd4ddb21ad19cec71369355de) --- diff --git a/src/Buffer.cpp b/src/Buffer.cpp index 51fc4e0bd6..b3ce87f900 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -4719,8 +4719,9 @@ 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 - if (master == this) { + // 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) { textclass.counters().reset(from_ascii("bibitem")); reloadBibInfoCache(); // we will re-read this cache as we go through, but we need diff --git a/status.23x b/status.23x index 68efcd7455..55128e96f7 100644 --- a/status.23x +++ b/status.23x @@ -191,6 +191,11 @@ What's new - Ignore deleted material when generating a proposed label (bug 11102). +- Reload citation list when undoing or redoing removal of bibliography + inset (bug 9158). + +- Fix some master/child issues with biblatex (bug 11083). + * INTERNALS