]> git.lyx.org Git - lyx.git/commitdiff
For the default View and Update actions of the View menu, use the lfuns without param...
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 27 Jan 2011 11:53:51 +0000 (11:53 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 27 Jan 2011 11:53:51 +0000 (11:53 +0000)
This paves the way for having a shortcut for buffer-view and buffer-update

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37338 a592a061-630c-0410-9148-cb99ea01b6c8

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;
                        }