]> git.lyx.org Git - lyx.git/blobdiff - src/Paragraph.cpp
* src/LaTeXFeatures.cpp: simplify greektext definition. Patch by G. Milde (bug #6458)
[lyx.git] / src / Paragraph.cpp
index 4d51e2c69c3b4e39972a2bc0b55e74fbbaef069e..c47718c3d5a8eedf9d14d8040b1d10769600465a 100644 (file)
@@ -3165,7 +3165,7 @@ bool Paragraph::spellCheck(pos_type & from, pos_type & to, WordLangTuple & wl,
        if (!speller)
                return false;
 
-       if (!inInset().allowSpellCheck())
+       if (!d->layout_->spellcheck || !inInset().allowSpellCheck())
                return false;
 
        locateWord(from, to, WHOLE_WORD);