From fb1c4494ea43bbbd7b54ea40272d6c3ae76c372e Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 16 Mar 2023 11:56:20 +0100 Subject: [PATCH] Revert "Fix completion in math when inline completion was not yet shown" A better fix is in the works. This reverts commit b4211ef206827f85378b9392472fdc14e1e9f6c4. --- src/frontends/qt/GuiCompleter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt/GuiCompleter.cpp b/src/frontends/qt/GuiCompleter.cpp index 661178575b..2aee436912 100644 --- a/src/frontends/qt/GuiCompleter.cpp +++ b/src/frontends/qt/GuiCompleter.cpp @@ -710,7 +710,7 @@ void GuiCompleter::tab() docstring longestCompletion = longestUniqueCompletion(); prefix = cur.inset().completionPrefix(cur); docstring postfix = longestCompletion.substr(min(longestCompletion.size(), prefix.size())); - cur.inset().insertCompletion(cur, postfix, uniqueCompletionAvailable()); + cur.inset().insertCompletion(cur, postfix, false); old_cursor_ = bv.cursor(); updatePrefix(cur); -- 2.39.5