]> git.lyx.org Git - features.git/commitdiff
Fix bug #10866.
authorRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:12:24 +0000 (00:12 -0500)
committerRichard Heck <rgheck@lyx.org>
Thu, 22 Feb 2018 05:12:24 +0000 (00:12 -0500)
src/frontends/qt4/GuiApplication.cpp

index fbd0f5405c30815f87c36c29625513effd13703f..1badbb7d0b5c821f57daac8f3979059db31f229c 100644 (file)
@@ -1345,11 +1345,11 @@ bool GuiApplication::getStatus(FuncRequest const & cmd, FuncStatus & flag) const
 static docstring makeDispatchMessage(docstring const & msg,
                                     FuncRequest const & cmd)
 {
-       const bool verbose = (cmd.origin() == FuncRequest::MENU
+       const bool be_verbose = (cmd.origin() == FuncRequest::MENU
                              || cmd.origin() == FuncRequest::TOOLBAR
                              || cmd.origin() == FuncRequest::COMMANDBUFFER);
 
-       if (cmd.action() == LFUN_SELF_INSERT || !verbose) {
+       if (cmd.action() == LFUN_SELF_INSERT || !be_verbose) {
                LYXERR(Debug::ACTION, "dispatch msg is `" << msg << "'");
                return msg;
        }