mapeditor.cpp
changeset 431 c2ffbc9b832d
parent 428 9ae68208e2ff
child 432 f867269ab8a1
     1.1 --- a/mapeditor.cpp	Mon Feb 19 12:01:54 2007 +0000
     1.2 +++ b/mapeditor.cpp	Sat Feb 24 12:32:53 2007 +0000
     1.3 @@ -3606,7 +3606,11 @@
     1.4  						lmosel->move(p.x() -movingObj_start.x(), p.y()-movingObj_start.y() -lmosel->getTopPad());
     1.5  				} 
     1.6  
     1.7 -				if (lmo && (lmo!=lmosel) && xelection.getBranch() ) 
     1.8 +				// Maybe we can relink temporary?
     1.9 +				if (lmo && (lmo!=lmosel) && xelection.getBranch() && 
    1.10 +					 (typeid(*lmo)==typeid(BranchObj) ||
    1.11 +					  typeid(*lmo)==typeid(MapCenterObj)) ) 
    1.12 +
    1.13  				{
    1.14  					if (e->modifiers()==Qt::ControlModifier)
    1.15  					{