diff -r 1fae1d33285d -r 5b6f2a396979 xml.cpp --- a/xml.cpp Wed May 31 12:27:38 2006 +0000 +++ b/xml.cpp Wed May 31 12:27:39 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; }