]> git.lyx.org Git - lyx.git/blobdiff - src/RowPainter.cpp
Constify
[lyx.git] / src / RowPainter.cpp
index a486c0e97e9223da7a0f7c9a3109a1a7ac8d5856..b05b143fb481e2a00b2214b6bcc3eebd75612847 100644 (file)
@@ -119,6 +119,7 @@ void RowPainter::paintInset(Row::Element const & e) const
        e.inset->drawBackground(pi_, x1, yo_);
        e.inset->drawSelection(pi_, x1, yo_);
        e.inset->draw(pi_, x1, yo_);
+       paintTextDecoration(e);
 
        // Restore full_repaint status.
        pi_.full_repaint = pi_full_repaint;
@@ -551,7 +552,6 @@ void RowPainter::paintText()
 
                case Row::INSET:
                        paintInset(e);
-                       paintTextDecoration(e);
                        break;
 
                case Row::SPACE: