mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +00:00
Use appropriate (cheaper) conversion.
This commit is contained in:
parent
c4bb79dd8c
commit
2614d5a386
@ -1206,7 +1206,7 @@ void MenuDefinition::expandFlexInsert(
|
||||
if (cit->second.lyxtype() == type) {
|
||||
docstring label = cit->first;
|
||||
// we remove the "Flex:" prefix, if it is present
|
||||
if (prefixIs(label, from_utf8("Flex:")))
|
||||
if (prefixIs(label, from_ascii("Flex:")))
|
||||
label = label.substr(5);
|
||||
addWithStatusCheck(MenuItem(MenuItem::Command,
|
||||
toqstr(translateIfPossible(label)),
|
||||
|
Loading…
Reference in New Issue
Block a user