From a56b03e4fde267eec05dc0772942e0a39efef9da Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Fri, 12 Feb 2010 15:46:48 +0000 Subject: [PATCH] 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 --- src/frontends/qt4/Menus.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/frontends/qt4/Menus.cpp b/src/frontends/qt4/Menus.cpp index dd8b23378b..8858030b63 100644 --- a/src/frontends/qt4/Menus.cpp +++ b/src/frontends/qt4/Menus.cpp @@ -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;