mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Fix bug #9296. The key may be multiple keys.
This commit is contained in:
parent
f58d9f27a2
commit
080a4d84e2
@ -942,7 +942,9 @@ docstring const BiblioInfo::getLabel(vector<docstring> keys,
|
||||
|
||||
bool BiblioInfo::isBibtex(docstring const & key) const
|
||||
{
|
||||
BiblioInfo::const_iterator it = find(key);
|
||||
docstring key1;
|
||||
split(key, key1, ',');
|
||||
BiblioInfo::const_iterator it = find(key1);
|
||||
if (it == end())
|
||||
return false;
|
||||
return it->second.isBibTeX();
|
||||
|
Loading…
Reference in New Issue
Block a user