From: Richard Heck Date: Sun, 1 Apr 2012 22:21:22 +0000 (-0400) Subject: Backport fix for bug #8107. We need to invalidate the file X-Git-Tag: 2.0.4~161 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=858ccc413fe20f7cfad0ef8104cba6fb976b5082;p=features.git 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 --- 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