mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
Do not show completion cursor if completion is inactive
This commit is contained in:
parent
c311451518
commit
080b5107c7
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user