xml-vym.cpp
changeset 746 ee6b0f3a4c2f
parent 742 54d44ecd6097
child 749 9ff332964015
     1.1 --- a/xml-vym.cpp	Mon Mar 23 09:06:51 2009 +0000
     1.2 +++ b/xml-vym.cpp	Thu Mar 26 07:49:17 2009 +0000
     1.3 @@ -202,7 +202,7 @@
     1.4  			// selection==lmo==NULL
     1.5  			// Treat it like ImportAdd then...
     1.6  			loadMode=ImportAdd;
     1.7 -			// FIXME lmo=model->first()->getLMO();		
     1.8 +			// FIXME-3 lmo=model->first()->getLMO();		
     1.9  			// Do we really have no MCO when loading?????
    1.10  			cout << "xml-vym aborted\n";
    1.11  		}	
    1.12 @@ -298,7 +298,7 @@
    1.13  				state=StateHtmlNote;  
    1.14  				htmldata.replace ("<br></br>","<br />");
    1.15  				no.setNote (htmldata);
    1.16 -				lastBranch->setNote (no);
    1.17 +				lastBranch->getTreeItem()->setNoteObj (no);
    1.18  			}	
    1.19  			break;
    1.20  		default: 
    1.21 @@ -326,7 +326,7 @@
    1.22  		case StateMapSetting:break;
    1.23          case StateMapCenter: break;
    1.24          case StateNote:
    1.25 -			lastBranch->setNote(ch_simplified);
    1.26 +			lastBranch->getTreeItem()->setNote(ch_simplified);
    1.27  			break;
    1.28          case StateBranch: break;
    1.29          case StateStandardFlag: 
    1.30 @@ -488,7 +488,7 @@
    1.31  	}		
    1.32  	if (!a.value( "fonthint").isEmpty() ) 
    1.33  		no.setFontHint(a.value ("fonthint") );
    1.34 -	lastBranch->setNote(no);
    1.35 +	lastBranch->getTreeItem()->setNoteObj(no);
    1.36  	return true;
    1.37  }
    1.38