mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
Fix bug #6837.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_6_X@35044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d5e17bc255
commit
1476435c2f
@ -465,8 +465,9 @@ void InsetCitation::updateLabels(ParIterator const &)
|
||||
|
||||
void InsetCitation::addToToc(DocIterator const & cpit)
|
||||
{
|
||||
docstring const tocitem = getParam("key");
|
||||
Toc & toc = buffer().tocBackend().toc("citation");
|
||||
toc.push_back(TocItem(cpit, 0, cache.screen_label));
|
||||
toc.push_back(TocItem(cpit, 0, tocitem));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user