mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-07 12:32:26 +00:00
* Menus.cpp:
- make it work with multiple keys. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@24539 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
99f2abf59f
commit
4f81d0eff7
@ -1091,6 +1091,9 @@ void MenuDefinition::expandCiteStyles(BufferView const * bv)
|
||||
|
||||
Buffer const * buf = &bv->buffer();
|
||||
docstring key = citinset->getParam("key");
|
||||
// we can only handle one key currently
|
||||
if (contains(key, ','))
|
||||
key = qstring_to_ucs4(toqstr(key).split(',')[0]);
|
||||
|
||||
vector<CiteStyle> citeStyleList = citeStyles(buf->params().citeEngine());
|
||||
vector<docstring> citeStrings =
|
||||
|
Loading…
Reference in New Issue
Block a user