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:
Jean-Marc Lasgouttes 2010-02-12 15:46:48 +00:00
parent 70e12ff55d
commit a56b03e4fd

View File

@ -725,7 +725,7 @@ void MenuDefinition::expandGraphicsGroups(BufferView const * bv)
void MenuDefinition::expandSpellingSuggestions(BufferView const * bv)
{
if (!bv)
if (!bv || !lyxrc.spellcheck_continuously)
return;
WordLangTuple wl;
docstring_list suggestions;