* 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:
Jürgen Spitzmüller 2008-04-28 16:25:54 +00:00
parent 99f2abf59f
commit 4f81d0eff7

View File

@ -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 =