xml.cpp
changeset 129 9b9c7e8b9147
parent 104 270593ab83b2
child 160 72cc3873306a
     1.1 --- a/xml.cpp	Mon May 30 05:39:10 2005 +0000
     1.2 +++ b/xml.cpp	Tue Jul 19 14:44:30 2005 +0000
     1.3 @@ -540,11 +540,11 @@
     1.4  	{
     1.5  		if (!a.value( "endBranch").isEmpty() ) 
     1.6  		{
     1.7 -			LinkableMapObj *lmo=mc->findObj (a.value( "beginBranch"));
     1.8 +			LinkableMapObj *lmo=mc->findObjBySelect (a.value( "beginBranch"));
     1.9  			if (lmo && typeid (*lmo)==typeid (BranchObj))
    1.10  			{
    1.11  				xlo->setBegin ((BranchObj*)(lmo));
    1.12 -				lmo=mc->findObj (a.value( "endBranch"));
    1.13 +				lmo=mc->findObjBySelect (a.value( "endBranch"));
    1.14  				if (lmo && typeid (*lmo)==typeid (BranchObj))
    1.15  				{
    1.16  					xlo->setEnd ((BranchObj*)(lmo));