From: Richard Heck Date: Thu, 22 Feb 2018 05:12:24 +0000 (-0500) Subject: Fix bug #10866. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~3827 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=1c59eb968896446ade3ad88d788f7631f61c1e26;p=lyx.git Fix bug #10866. --- diff --git a/src/frontends/qt4/GuiApplication.cpp b/src/frontends/qt4/GuiApplication.cpp index fbd0f5405c..1badbb7d0b 100644 --- a/src/frontends/qt4/GuiApplication.cpp +++ b/src/frontends/qt4/GuiApplication.cpp @@ -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; }