From 49fee942cf359abc5f512891ff7dfa3a260afae5 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Sat, 8 Oct 2022 14:21:06 +0200 Subject: [PATCH] Fix inline completion prefix for macro insets As it was, the prefix was empty when completion popups were disabled. Related to bug #12581. --- src/mathed/InsetMathMacro.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/mathed/InsetMathMacro.cpp b/src/mathed/InsetMathMacro.cpp index 3f4da749ab..7c9efa4859 100644 --- a/src/mathed/InsetMathMacro.cpp +++ b/src/mathed/InsetMathMacro.cpp @@ -1369,9 +1369,6 @@ docstring InsetMathMacro::completionPrefix(Cursor const & cur) const if (displayMode() != DISPLAY_UNFOLDED) return InsetMathNest::completionPrefix(cur); - if (!completionSupported(cur)) - return docstring(); - return "\\" + name(); } -- 2.39.5