diff -r c810a11d11d9 -r e0f6a21cc6d6 branchobj.cpp --- a/branchobj.cpp Mon May 23 15:28:20 2005 +0000 +++ b/branchobj.cpp Fri Jul 08 08:06:36 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() ) );