diff options
Diffstat (limited to 'src/display/drawing-item.cpp')
| -rw-r--r-- | src/display/drawing-item.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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 |
