]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/Menus.cpp
For the default View and Update actions of the View menu, use the lfuns without param...
[lyx.git] / src / frontends / qt4 / Menus.cpp
index 54636e666ccbac34337caca85aa1b11124b39264..d3cce1e56b1ef85229199e9730f25d3b80a9a081 100644 (file)
@@ -1050,7 +1050,7 @@ void MenuDefinition::expandFormats(MenuItem::Kind kind, Buffer const * buf)
                                        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()));
+                                          FuncRequest(action));
                                add(w);
                                continue;
                        }