mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
* Menus.cpp:
- re-add accelerators. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31314 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
009cb16a41
commit
37429e5e60
@ -891,8 +891,8 @@ void MenuDefinition::expandFormats(MenuItem::Kind kind, Buffer const * buf)
|
|||||||
case MenuItem::UpdateFormats:
|
case MenuItem::UpdateFormats:
|
||||||
if ((*fit)->name() == buf->getDefaultOutputFormat()) {
|
if ((*fit)->name() == buf->getDefaultOutputFormat()) {
|
||||||
docstring lbl = (kind == MenuItem::ViewFormats ?
|
docstring lbl = (kind == MenuItem::ViewFormats ?
|
||||||
bformat(_("View [%1$s]"), qstring_to_ucs4(label))
|
bformat(_("View [%1$s]|V"), qstring_to_ucs4(label))
|
||||||
: bformat(_("Update [%1$s]"), qstring_to_ucs4(label)));
|
: bformat(_("Update [%1$s]|U"), qstring_to_ucs4(label)));
|
||||||
MenuItem w(MenuItem::Command, toqstr(lbl),
|
MenuItem w(MenuItem::Command, toqstr(lbl),
|
||||||
FuncRequest(action, (*fit)->name()));
|
FuncRequest(action, (*fit)->name()));
|
||||||
add(w);
|
add(w);
|
||||||
|
Loading…
Reference in New Issue
Block a user