From bc07253a7ceeb7989244830bc53169c651b8dbc9 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Mon, 14 Nov 2011 19:17:26 +0100 Subject: Fix text redraw problems (LP #837291) Fixed bugs: - https://launchpad.net/bugs/837291 (bzr r10739) --- src/display/drawing-item.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/display/drawing-item.cpp b/src/display/drawing-item.cpp index bb99ed61d..df44a3de0 100644 --- a/src/display/drawing-item.cpp +++ b/src/display/drawing-item.cpp @@ -158,6 +158,7 @@ DrawingItem::prependChild(DrawingItem *item) void DrawingItem::clearChildren() { + _markForRendering(); // prevent children from referencing the parent during deletion // this way, children won't try to remove themselves from a list // from which they have already been removed by clear_and_dispose @@ -166,6 +167,7 @@ DrawingItem::clearChildren() i->_child_type = CHILD_ORPHAN; } _children.clear_and_dispose(DeleteDisposer()); + _markForUpdate(STATE_ALL, false); } /// Set the incremental transform for this item -- cgit v1.2.3