From 621c908f85650cc086b1d155062885eba016d1fa Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Thu, 23 May 2019 11:30:35 +0200 Subject: [PATCH] Always paint text decoration when painting inset. Fixes bug #11402. --- src/RowPainter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/RowPainter.cpp b/src/RowPainter.cpp index a486c0e97e..b05b143fb4 100644 --- a/src/RowPainter.cpp +++ b/src/RowPainter.cpp @@ -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: -- 2.39.5