]> git.lyx.org Git - features.git/commitdiff
Rename a routine.
authorRichard Heck <rgheck@lyx.org>
Mon, 17 Feb 2014 20:47:22 +0000 (15:47 -0500)
committerRichard Heck <rgheck@lyx.org>
Tue, 18 Feb 2014 15:42:52 +0000 (10:42 -0500)
src/DispatchResult.h
src/frontends/qt4/GuiView.cpp

index 687e55c8fded3a02ec562a846b97e66d73269dc3..21dfa4f92bd018dcb44d45e3f9be3b71da36a50f 100644 (file)
@@ -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?
index d76c3c87aaea9e1428b6aa955063b720fb6f5bea..3ba1f0ed8318fef57f5a0bbc4d6626e208f55605 100644 (file)
@@ -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: