diff -r 3780fe1051a3 -r 4e11661e039d xml.cpp --- a/xml.cpp Wed Mar 15 13:53:53 2006 +0000 +++ b/xml.cpp Wed May 31 12:36:13 2006 +0000 @@ -585,7 +585,11 @@ y=a.value("relPosY").toInt (&oky, 10); if (okx && oky) - lastFloat->setRelPos (QPoint (x,y) ); + { + lastFloat->setRelPos (QPoint (x,y) ); + // make sure floats in mapcenter are repositioned to relative pos + if (mc==lastBranch) mc->positionContents(); + } else // Couldn't read relPos return false; @@ -594,6 +598,10 @@ if (!readOOAttr(a)) return false; + if (!a.value ("orgName").isEmpty() ) + { + ((FloatImageObj*)(lastFloat))->setOriginalFilename (a.value("orgName")); + } return true; }