* 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:
Jürgen Spitzmüller 2009-09-06 14:35:08 +00:00
parent 009cb16a41
commit 37429e5e60

View File

@ -891,8 +891,8 @@ void MenuDefinition::expandFormats(MenuItem::Kind kind, Buffer const * buf)
case MenuItem::UpdateFormats:
if ((*fit)->name() == buf->getDefaultOutputFormat()) {
docstring lbl = (kind == MenuItem::ViewFormats ?
bformat(_("View [%1$s]"), qstring_to_ucs4(label))
: bformat(_("Update [%1$s]"), qstring_to_ucs4(label)));
bformat(_("View [%1$s]|V"), qstring_to_ucs4(label))
: bformat(_("Update [%1$s]|U"), qstring_to_ucs4(label)));
MenuItem w(MenuItem::Command, toqstr(lbl),
FuncRequest(action, (*fit)->name()));
add(w);