]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.cpp
When we use InPremable styles, we want to write as many versions
[lyx.git] / src / RowPainter.cpp
index ec083e9ac5b563d8b3d9dbb8081fbae19ceb84a0..8c62926889000c68a6262d724a9c30e8752920f2 100644 (file)
@@ -609,7 +609,7 @@ void RowPainter::paintText()
                        paintStringAndSel(e);
 
                        // Paint the spelling marks if enabled.
-                       if (lyxrc.spellcheck_continuously && pi_.do_spellcheck)
+                       if (lyxrc.spellcheck_continuously && pi_.do_spellcheck && pi_.pain.isDrawingEnabled())
                                paintMisspelledMark(orig_x, e);
                        break;
                case Row::INSET: {