Always paint text decoration when painting inset.

Fixes bug #11402.
This commit is contained in:
Jean-Marc Lasgouttes 2019-05-23 11:30:35 +02:00
parent 7cc4ceb89c
commit 621c908f85

View File

@ -119,6 +119,7 @@ void RowPainter::paintInset(Row::Element const & e) const
e.inset->drawBackground(pi_, x1, yo_); e.inset->drawBackground(pi_, x1, yo_);
e.inset->drawSelection(pi_, x1, yo_); e.inset->drawSelection(pi_, x1, yo_);
e.inset->draw(pi_, x1, yo_); e.inset->draw(pi_, x1, yo_);
paintTextDecoration(e);
// Restore full_repaint status. // Restore full_repaint status.
pi_.full_repaint = pi_full_repaint; pi_.full_repaint = pi_full_repaint;
@ -551,7 +552,6 @@ void RowPainter::paintText()
case Row::INSET: case Row::INSET:
paintInset(e); paintInset(e);
paintTextDecoration(e);
break; break;
case Row::SPACE: case Row::SPACE: