diff -r c810a11d11d9 -r 1ad2d5c80848 branchobj.cpp --- a/branchobj.cpp Mon May 23 15:28:20 2005 +0000 +++ b/branchobj.cpp Tue Jul 12 12:02:55 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() ) );