diff -r c810a11d11d9 -r 768eba98451b branchobj.cpp --- a/branchobj.cpp Mon May 23 15:28:20 2005 +0000 +++ b/branchobj.cpp Fri Jul 08 07:24:42 2005 +0000 @@ -1293,7 +1293,11 @@ // set Text in Editor textEditor->setText(note.getNote() ); - textEditor->setFilename(note.getFilenameHint() ); + QString fnh=note.getFilenameHint(); + if (fnh!="") + textEditor->setFilenameHint(note.getFilenameHint() ); + else + textEditor->setFilenameHint(getHeading() ); textEditor->setFontHint (note.getFontHint() ); connect (textEditor, SIGNAL (textHasChanged() ), this, SLOT (updateNoteFlag() ) ); connect (textEditor, SIGNAL (fontSizeHasChanged() ), this, SLOT (updateNoteFlag() ) );