mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Prevent that a full source preview of a child clears the master's bibfiles cache.
See #9158
This commit is contained in:
parent
20ab606975
commit
a9a7f38488
@ -4660,8 +4660,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
|
||||
|
Loading…
Reference in New Issue
Block a user