]> git.lyx.org Git - features.git/commitdiff
Backport fix for bug #8107. We need to invalidate the file
authorRichard Heck <rgheck@lyx.org>
Sun, 1 Apr 2012 22:21:22 +0000 (18:21 -0400)
committerRichard Heck <rgheck@lyx.org>
Sun, 1 Apr 2012 22:28:55 +0000 (18:28 -0400)
cache, not just the BibInfo cache, when we create a new BibTeX
inset.

Conflicts:

src/insets/InsetBibtex.cpp

src/insets/InsetBibtex.cpp
status.20x

index c54abb7624c240d37e294596e8866fd47c74e13a..0669e0e76cd9e41e32a41b0aeb9800ddf79a2b08 100644 (file)
@@ -57,7 +57,8 @@ namespace os = support::os;
 InsetBibtex::InsetBibtex(Buffer * buf, InsetCommandParams const & p)
        : InsetCommand(buf, p)
 {
-       buffer().invalidateBibinfoCache();
+       buffer().invalidateBibfileCache();
+       buffer().removeBiblioTempFiles();
 }
 
 
index 37b379dd83398f5eb7b66db45b985c0277669515..0545217335b7fe316c120d9707752bb2bb5a1ba5 100644 (file)
@@ -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