mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-26 11:16:55 +00:00
Revert "Update correctly completion after undo"
This reverts commit 06acb7f806
.
This commit is contained in:
parent
e2a99b0a0c
commit
ada713a881
@ -4067,10 +4067,8 @@ void GuiView::dispatchToBufferView(FuncRequest const & cmd, DispatchResult & dr)
|
|||||||
// Let the current BufferView dispatch its own actions.
|
// Let the current BufferView dispatch its own actions.
|
||||||
bv->dispatch(cmd, dr);
|
bv->dispatch(cmd, dr);
|
||||||
if (dr.dispatched()) {
|
if (dr.dispatched()) {
|
||||||
if (cmd.action() == LFUN_REDO || cmd.action() == LFUN_UNDO) {
|
if (cmd.action() == LFUN_REDO || cmd.action() == LFUN_UNDO)
|
||||||
updateCompletion(bv->cursor(), true, false);
|
|
||||||
updateDialog("document", "");
|
updateDialog("document", "");
|
||||||
}
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user