summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKrzysztof Kosi??ski <tweenk.pl@gmail.com>2011-11-14 18:17:26 +0000
committerKrzysztof KosiƄski <tweenk.pl@gmail.com>2011-11-14 18:17:26 +0000
commitbc07253a7ceeb7989244830bc53169c651b8dbc9 (patch)
treef4542a953f4f59845091a9add31021678729602f /src
parentGerman translation update (diff)
downloadinkscape-bc07253a7ceeb7989244830bc53169c651b8dbc9.tar.gz
inkscape-bc07253a7ceeb7989244830bc53169c651b8dbc9.zip
Fix text redraw problems (LP #837291)
Fixed bugs: - https://launchpad.net/bugs/837291 (bzr r10739)
Diffstat (limited to 'src')
-rw-r--r--src/display/drawing-item.cpp2
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