mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 10:00:33 +00:00
Rename a routine.
This commit is contained in:
parent
7f82b8391a
commit
0a5b33bcad
@ -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?
|
||||
|
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user