]> git.lyx.org Git - lyx.git/blobdiff - src/rowpainter.cpp
compil fix.
[lyx.git] / src / rowpainter.cpp
index 533edcd58583d60660078d2d2af7564b3c40e612..9ed482c9905957b239342b7cbc1595b6dbab79f8 100644 (file)
@@ -750,7 +750,7 @@ void RowPainter::paintText()
                }
 
                bool const highly_editable_inset = par_.isInset(pos)
-                       && isHighlyEditableInset(par_.getInset(pos));
+                       && par_.getInset(pos)->editable() == Inset::HIGHLY_EDITABLE;
 
                // If we reach the end of a struck out range, paint it.
                // We also don't paint across things like tables