]> git.lyx.org Git - features.git/commitdiff
Revert that part
authorJuergen Spitzmueller <spitz@lyx.org>
Wed, 8 Aug 2018 13:14:26 +0000 (15:14 +0200)
committerJuergen Spitzmueller <spitz@lyx.org>
Wed, 8 Aug 2018 13:14:26 +0000 (15:14 +0200)
We don't want to lose the shortcuts.

src/frontends/qt4/Menus.cpp

index b9450a28575fa30952defe16497a69e25fc49ebe..6690588ba4250946fc24acce39e14d991330d340 100644 (file)
@@ -1131,7 +1131,7 @@ void MenuDefinition::expandFormats(MenuItem::Kind const kind, Buffer const * buf
                                docstring lbl = (kind == MenuItem::ViewFormats
                                        ? bformat(_("View [%1$s]|V"), label)
                                        : bformat(_("Update [%1$s]|U"), label));
-                               add(MenuItem(MenuItem::Command, toqstr(lbl), FuncRequest(action, f->name())));
+                               add(MenuItem(MenuItem::Command, toqstr(lbl), FuncRequest(action)));
                                continue;
                        }
                        break;