xml-freemind.cpp
changeset 787 c6bb4fdcc55f
parent 776 25e634a7e1dc
child 822 c2ce9944148c
     1.1 --- a/xml-freemind.cpp	Thu Aug 06 10:42:17 2009 +0000
     1.2 +++ b/xml-freemind.cpp	Sat Aug 08 21:58:26 2009 +0000
     1.3 @@ -90,7 +90,7 @@
     1.4  			if (atts.value ("POSITION")=="left")
     1.5  			{
     1.6  				model->select ("bo:1");
     1.7 -				lastBranchItem=model->getSelectedBranchItem();
     1.8 +				lastBranchItem=model->getSelectedBranch();
     1.9  				if (lastBranchItem)
    1.10  				{	
    1.11  					lastBranchItem=model->createBranch(lastBranchItem);
    1.12 @@ -99,7 +99,7 @@
    1.13  			} else if (atts.value ("POSITION")=="right")
    1.14  			{
    1.15  				model->select ("bo:0");
    1.16 -				lastBranchItem=model->getSelectedBranchItem();
    1.17 +				lastBranchItem=model->getSelectedBranch();
    1.18  				if (lastBranchItem)
    1.19  				{	
    1.20  					lastBranchItem=model->createBranch(lastBranchItem);