mapeditor.cpp
changeset 817 b486ffd0fa11
parent 816 3086ee01554a
child 818 25ee6b988b73
     1.1 --- a/mapeditor.cpp	Thu Dec 10 17:04:48 2009 +0000
     1.2 +++ b/mapeditor.cpp	Mon Dec 14 10:17:55 2009 +0000
     1.3 @@ -1051,10 +1051,11 @@
     1.4  			// Take care of xLink
     1.5  			if (ti->xlinkCount()>0 && lmo->getBBox().width()>30)
     1.6  			{
     1.7 -				if ((lmo->getOrientation()==LinkableMapObj::RightOfCenter && p.x() > lmo->getBBox().right()-20)  ||
     1.8 -				    (lmo->getOrientation()==LinkableMapObj::LeftOfCenter && p.x() < lmo->getBBox().left()+20) ) 
     1.9 +				if ((lmo->getOrientation()!=LinkableMapObj::RightOfCenter && p.x() < lmo->getBBox().left()+20)  ||
    1.10 +				    (lmo->getOrientation()!=LinkableMapObj::LeftOfCenter && p.x() > lmo->getBBox().right()-20) ) 
    1.11  				{
    1.12 -					if (ti->xlinkCount()>1)
    1.13 +					// FIXME-4 if (ti->xlinkCount()>1)
    1.14 +					if (true)
    1.15  					{
    1.16  						QMenu menu;
    1.17  						QList <QAction*> alist;