From: ozmikepittman Date: Thu, 22 May 2008 16:31:22 +0000 (+0000) Subject: Fixing z-order problem on flowed text -> text. See LP#233830 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=acf69f6e20583a6b692fbbb909aa0274ac08c623;p=inkscape.git Fixing z-order problem on flowed text -> text. See LP#233830 --- diff --git a/src/text-chemistry.cpp b/src/text-chemistry.cpp index 3a100a6fe..0eeac8c4f 100644 --- a/src/text-chemistry.cpp +++ b/src/text-chemistry.cpp @@ -508,7 +508,7 @@ flowtext_to_text() did = true; Inkscape::XML::Node *parent = SP_OBJECT_REPR(item)->parent(); - parent->appendChild(repr); + parent->addChild(repr, SP_OBJECT_REPR(item)); SPItem *new_item = (SPItem *) sp_desktop_document(desktop)->getObjectByRepr(repr); sp_item_write_transform(new_item, repr, item->transform);