Preserve star on citation style change via menu

Fixes: #11439
(cherry picked from commit 52fffee7f2)
This commit is contained in:
Juergen Spitzmueller 2019-07-09 10:47:18 +02:00
parent 4fb4035e7f
commit 6afe258453
2 changed files with 4 additions and 2 deletions

View File

@ -1572,9 +1572,8 @@ void MenuDefinition::expandCiteStyles(BufferView const * bv)
return;
}
size_t const n = cmd.size();
bool const force = isUpperCase(cmd[0]);
bool const star = cmd[n] == '*';
bool const star = suffixIs(cmd, '*');
vector<docstring> const keys = getVectorFromString(key);

View File

@ -87,6 +87,9 @@ What's new
- Fix additional problem with display of inline equations in outliner
(bug 11423).
- Preserve "all authors" state when switching citation style via context
menu (bug 11439).
* INTERNALS