From 72837fec5ceaf48533daa627e00af387f20bd248 Mon Sep 17 00:00:00 2001 From: Jean-Marc Lasgouttes Date: Mon, 5 Sep 2016 11:04:11 +0200 Subject: [PATCH] Amend commit e194c9ce279 As noted in the log, this commit was a bit radical and needs some adjustments (which was expected, actually). Let InsetText do their own background drawing. Fixes bug #10359. --- src/insets/InsetText.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/insets/InsetText.h b/src/insets/InsetText.h index 28340193c7..ac0cf69998 100644 --- a/src/insets/InsetText.h +++ b/src/insets/InsetText.h @@ -59,6 +59,8 @@ public: void metrics(MetricsInfo & mi, Dimension & dim) const; /// void draw(PainterInfo & pi, int x, int y) const; + /// Drawing background is handled in draw + virtual void drawBackground(PainterInfo &, int, int) const {} /// bool editable() const { return true; } ///