[LyX/master] Revert "Update correctly completion after undo"
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Mon Oct 18 15:22:29 UTC 2021
commit ada713a8815063cfa9fbd4666b3ae5a220a07eba
Author: Jean-Marc Lasgouttes <lasgouttes at lyx.org>
Date: Mon Oct 18 17:35:48 2021 +0200
Revert "Update correctly completion after undo"
This reverts commit 06acb7f806f99cd418781f9d0645b213f8241062.
---
src/frontends/qt/GuiView.cpp | 4 +---
1 files changed, 1 insertions(+), 3 deletions(-)
diff --git a/src/frontends/qt/GuiView.cpp b/src/frontends/qt/GuiView.cpp
index 9126d48..767791f 100644
--- a/src/frontends/qt/GuiView.cpp
+++ b/src/frontends/qt/GuiView.cpp
@@ -4067,10 +4067,8 @@ void GuiView::dispatchToBufferView(FuncRequest const & cmd, DispatchResult & dr)
// Let the current BufferView dispatch its own actions.
bv->dispatch(cmd, dr);
if (dr.dispatched()) {
- if (cmd.action() == LFUN_REDO || cmd.action() == LFUN_UNDO) {
- updateCompletion(bv->cursor(), true, false);
+ if (cmd.action() == LFUN_REDO || cmd.action() == LFUN_UNDO)
updateDialog("document", "");
- }
return;
}
More information about the lyx-cvs
mailing list