]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetBibitem.cpp
support for table cell rotations; fileformat change
[lyx.git] / src / insets / InsetBibitem.cpp
index 779ef7035c5cf2a1422a4897e3a05d0e64323d21..3aaaceacbdd8d954fb53fcd1b692b4f3f75e8dd9 100644 (file)
@@ -314,8 +314,10 @@ docstring bibitemWidest(Buffer const & buffer, OutputParams const & runparams)
 void InsetBibitem::collectBibKeys(InsetIterator const & it) const
 {
        docstring const key = getParam("key");
+       docstring const label = getParam("label");
        BibTeXInfo keyvalmap(false);
-       keyvalmap.label(bibLabel());
+       keyvalmap.key(key);
+       keyvalmap.label(label);
        DocIterator doc_it(it);
        doc_it.forwardPos();
        keyvalmap[from_ascii("ref")] = doc_it.paragraph().asString(