From 92e708fd6d743b6cb4a1bdeae02a4611ea51c0d3 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 27 Jan 2011 11:53:51 +0000 Subject: [PATCH] For the default View and Update actions of the View menu, use the lfuns without parameters. 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index 54636e666c..d3cce1e56b 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -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; } -- 2.39.5