commit fb1c4494ea43bbbd7b54ea40272d6c3ae76c372e Author: Jean-Marc Lasgouttes <lasgout...@lyx.org> Date: Thu Mar 16 11:56:20 2023 +0100
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 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/frontends/qt/GuiCompleter.cpp b/src/frontends/qt/GuiCompleter.cpp index 6611785..2aee436 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); -- lyx-cvs mailing list lyx-cvs@lists.lyx.org http://lists.lyx.org/mailman/listinfo/lyx-cvs