mapcenterobj.cpp
changeset 746 ee6b0f3a4c2f
parent 729 7ddbe3fa34a1
child 749 9ff332964015
     1.1 --- a/mapcenterobj.cpp	Mon Mar 23 09:06:51 2009 +0000
     1.2 +++ b/mapcenterobj.cpp	Thu Mar 26 07:49:17 2009 +0000
     1.3 @@ -175,11 +175,11 @@
     1.4  	s+=frame->saveToDir ();
     1.5  
     1.6  	// Update of note is usually done while unselecting a branch
     1.7 -	if (isNoteInEditor) getNoteFromTextEditor();
     1.8 +	//if (isNoteInEditor) getNoteFromTextEditor();  FIXME-3
     1.9  
    1.10  	// save note
    1.11 -	if (!note.isEmpty() )
    1.12 -		s+=note.saveToDir();
    1.13 +	if (!treeItem->getNoteObj().isEmpty() )
    1.14 +		s+=treeItem->getNoteObj().saveToDir();
    1.15  	
    1.16  	// Save branches
    1.17  	for (int i=0; i<branch.size(); ++i)