]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetCitation.cpp
Fix assertion when checking if change in selection
[lyx.git] / src / insets / InsetCitation.cpp
index 0e67483c99f29a8e4defd1772490d6f336e3d735..ba45f691a37cbe0cef69fdab1313ca90e6e2c02a 100644 (file)
@@ -552,6 +552,8 @@ void InsetCitation::forOutliner(docstring & os, size_t const, bool const) const
 // engine, e.g. \cite[]{} for the basic engine.
 void InsetCitation::latex(otexstream & os, OutputParams const & runparams) const
 {
+       // When this is a child compiled on its own, we use the childs
+       // own bibinfo, else the master's
        BiblioInfo const & bi = runparams.is_child
                        ? buffer().masterBibInfo() : buffer().bibInfo();
        docstring const key = getParam("key");