From: Jean-Marc Lasgouttes Date: Thu, 16 Mar 2023 10:56:20 +0000 (+0100) Subject: Revert "Fix completion in math when inline completion was not yet shown" X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=fb1c4494ea43bbbd7b54ea40272d6c3ae76c372e;p=features.git Revert "Fix completion in math when inline completion was not yet shown" A better fix is in the works. This reverts commit b4211ef206827f85378b9392472fdc14e1e9f6c4. --- 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);