xml-vym.cpp
changeset 787 c6bb4fdcc55f
parent 786 6269016c9905
child 788 78ba80b54bc4
     1.1 --- a/xml-vym.cpp	Thu Aug 06 10:42:17 2009 +0000
     1.2 +++ b/xml-vym.cpp	Sat Aug 08 21:58:26 2009 +0000
     1.3 @@ -145,7 +145,7 @@
     1.4  		{
     1.5  			// Treat the found mapcenter as a branch 
     1.6  			// in an existing map
     1.7 -			BranchItem *bi=model->getSelectedBranchItem();	//FIXME-3 selection is no longer used here...
     1.8 +			BranchItem *bi=model->getSelectedBranch();	//FIXME-3 selection is no longer used here...
     1.9  			if (bi)
    1.10  			{
    1.11  				lastBranch=bi;
    1.12 @@ -271,7 +271,7 @@
    1.13  		<<">  state=" <<state 
    1.14  	//	<<"  laststate=" <<laststate
    1.15  	//	<<"  stateStack="<<stateStack.last() 
    1.16 -		<<"  selString="<<model->getSelectString().toStdString()
    1.17 +	//	<<"  selString="<<model->getSelectString().toStdString()
    1.18  		<<endl;
    1.19  	*/
    1.20      switch ( state ) 
    1.21 @@ -282,7 +282,7 @@
    1.22          case StateMapCenter: 
    1.23  			model->emitDataHasChanged (lastBranch);
    1.24  			lastBranch=(BranchItem*)(lastBranch->parent());
    1.25 -			lastBranch->setLastSelectedBranch (0);	// Reset last selected to first child branch
    1.26 +		//	lastBranch->setLastSelectedBranch (0);	// Reset last selected to first child branch
    1.27              break;
    1.28          case StateBranch: 
    1.29  			// Empty branches may not be scrolled