From acf69f6e20583a6b692fbbb909aa0274ac08c623 Mon Sep 17 00:00:00 2001 From: ozmikepittman Date: Thu, 22 May 2008 16:31:22 +0000 Subject: [PATCH] Fixing z-order problem on flowed text -> text. See LP#233830 --- src/text-chemistry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2