mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 18:08:10 +00:00
Fix inline completion prefix for macro insets
As it was, the prefix was empty when completion popups were disabled. Related to bug #12581.
This commit is contained in:
parent
786a6edb54
commit
49fee942cf
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user