diff -r 2f002657dada -r 6e4b586aa88a linkablemapobj.cpp --- a/linkablemapobj.cpp Tue May 26 11:24:51 2009 +0000 +++ b/linkablemapobj.cpp Wed Jun 03 20:37:17 2009 +0000 @@ -447,6 +447,19 @@ // updateLink is called from move, but called from constructor we don't // have parents yet... + + if (!parObj) + { + // If I am a mapcenter, set childPos to middle of MapCenterObj + childPos.setX( clickBox.topLeft().x() + clickBox.width()/2 ); + childPos.setY( clickBox.topLeft().y() + clickBox.height()/2 ); + parPos=childPos; + // Redraw links to children + for (int i=0; ibranchCount(); ++i) + treeItem->getBranchObjNum(i)->updateLink(); + return; + } + if (style==UndefinedStyle) return; switch (linkpos)