From 858ccc413fe20f7cfad0ef8104cba6fb976b5082 Mon Sep 17 00:00:00 2001 From: Richard Heck Date: Sun, 1 Apr 2012 18:21:22 -0400 Subject: [PATCH] Backport fix for bug #8107. We need to invalidate the file cache, not just the BibInfo cache, when we create a new BibTeX inset. Conflicts: src/insets/InsetBibtex.cpp --- src/insets/InsetBibtex.cpp | 3 ++- status.20x | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index c54abb7624..0669e0e76c 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -57,7 +57,8 @@ namespace os = support::os; InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p) : InsetCommand(buf, p) { - buffer().invalidateBibinfoCache(); + buffer().invalidateBibfileCache(); + buffer().removeBiblioTempFiles(); } diff --git a/status.20x b/status.20x index 37b379dd83..0545217335 100644 --- a/status.20x +++ b/status.20x @@ -115,6 +115,9 @@ What's new - Fix display of "Block" environment in Beamer presentations (bug 8094). +- Changes to BibTeX files not noticed when new BibTeX inset created + (bug 8107). + * DOCUMENTATION AND LOCALIZATION -- 2.39.5