diff -r 3780fe1051a3 -r 08b3473cb7ab xml.cpp --- a/xml.cpp Wed Mar 15 13:53:53 2006 +0000 +++ b/xml.cpp Thu Jul 13 08:40:03 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; }