From: Richard Heck Date: Mon, 17 Feb 2014 20:47:22 +0000 (-0500) Subject: Rename a routine. X-Git-Tag: 2.1.0rc1~190 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=0a5b33bcad81748c8bfa70bdc3e006e0b1749eff;p=features.git Rename a routine. --- diff --git a/src/DispatchResult.h b/src/DispatchResult.h index 687e55c8fd..21dfa4f92b 100644 --- a/src/DispatchResult.h +++ b/src/DispatchResult.h @@ -63,12 +63,12 @@ public: void forceBufferUpdate() { need_buf_update_ = true; } /// Clear the flag indicating we need an update void clearBufferUpdate() { need_buf_update_ = false; } - /// + /// Do we need to display a message in the status bar? bool needMessageUpdate() const { return need_msg_update_; } - /// Force the buffer to be updated + /// Force the message to be displayed void forceMessageUpdate() { need_msg_update_ = true; } - /// Clear the flag indicating we need an update - void suppressMessageUpdate() { need_msg_update_ = false; } + /// Clear the flag indicating we need to display the message + void clearMessageUpdate() { need_msg_update_ = false; } private: /// was the event fully dispatched? diff --git a/src/frontends/qt4/GuiView.cpp b/src/frontends/qt4/GuiView.cpp index d76c3c87aa..3ba1f0ed83 100644 --- a/src/frontends/qt4/GuiView.cpp +++ b/src/frontends/qt4/GuiView.cpp @@ -2889,7 +2889,7 @@ void GuiView::dispatchVC(FuncRequest const & cmd, DispatchResult & dr) if (!buffer->lyxvc().inUse()) { if (buffer->lyxvc().registrer()) { reloadBuffer(*buffer); - dr.suppressMessageUpdate(); + dr.clearMessageUpdate(); } } break; @@ -2969,7 +2969,7 @@ void GuiView::dispatchVC(FuncRequest const & cmd, DispatchResult & dr) LASSERT(buffer, return); if (buffer->lyxvc().revert()) { reloadBuffer(*buffer); - dr.suppressMessageUpdate(); + dr.clearMessageUpdate(); } break; @@ -2977,7 +2977,7 @@ void GuiView::dispatchVC(FuncRequest const & cmd, DispatchResult & dr) LASSERT(buffer, return); buffer->lyxvc().undoLast(); reloadBuffer(*buffer); - dr.suppressMessageUpdate(); + dr.clearMessageUpdate(); break; case LFUN_VC_REPO_UPDATE: