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;