Don't paint misspelled mark if continuous spellchecking is disabled.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@30972 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2009-08-10 22:03:55 +00:00
parent cd8e483f3a
commit 5c94ab424c

View File

@ -362,7 +362,7 @@ void RowPainter::paintFromPos(pos_type & vpos)
paintForeignMark(orig_x, orig_font.language());
if (orig_font.isMisspelled())
if (lyxrc.spellcheck_continuously && orig_font.isMisspelled())
paintMisspelledMark(orig_x, 3);
}