mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-14 06:57:01 +00:00
Do not show spelling suggestions in contextual menu when spellcheck_continuouslyis off.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33451 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
70e12ff55d
commit
a56b03e4fd
@ -725,7 +725,7 @@ void MenuDefinition::expandGraphicsGroups(BufferView const * bv)
|
|||||||
|
|
||||||
void MenuDefinition::expandSpellingSuggestions(BufferView const * bv)
|
void MenuDefinition::expandSpellingSuggestions(BufferView const * bv)
|
||||||
{
|
{
|
||||||
if (!bv)
|
if (!bv || !lyxrc.spellcheck_continuously)
|
||||||
return;
|
return;
|
||||||
WordLangTuple wl;
|
WordLangTuple wl;
|
||||||
docstring_list suggestions;
|
docstring_list suggestions;
|
||||||
|
Loading…
Reference in New Issue
Block a user