Do not show completion cursor if completion is inactive

This commit is contained in:
Richard Kimberly Heck 2021-02-08 18:00:31 -05:00
parent c311451518
commit 080b5107c7
2 changed files with 4 additions and 2 deletions

View File

@ -7638,7 +7638,8 @@ bool InsetTabular::automaticPopupCompletion() const
bool InsetTabular::showCompletionCursor() const
{
return lyxrc.completion_cursor_text;
return lyxrc.completion_cursor_text &&
(lyxrc.completion_inline_text || lyxrc.completion_popup_text);
}

View File

@ -1184,7 +1184,8 @@ bool InsetText::automaticPopupCompletion() const
bool InsetText::showCompletionCursor() const
{
return lyxrc.completion_cursor_text;
return lyxrc.completion_cursor_text &&
(lyxrc.completion_inline_text || lyxrc.completion_popup_text);
}