]> git.lyx.org Git - features.git/commitdiff
Revert "Update correctly completion after undo"
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Oct 2021 15:35:48 +0000 (17:35 +0200)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Mon, 18 Oct 2021 15:35:48 +0000 (17:35 +0200)
This reverts commit 06acb7f806f99cd418781f9d0645b213f8241062.

src/frontends/qt/GuiView.cpp

index 9126d484fa616e8064a17424d4b41a0260ba59f8..767791f57b47fab5920b2dead679a788f4816578 100644 (file)
@@ -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;
        }