1.1 --- a/branchobj.cpp Mon May 23 15:28:20 2005 +0000
1.2 +++ b/branchobj.cpp Fri Jul 08 07:24:42 2005 +0000
1.3 @@ -1293,7 +1293,11 @@
1.4
1.5 // set Text in Editor
1.6 textEditor->setText(note.getNote() );
1.7 - textEditor->setFilename(note.getFilenameHint() );
1.8 + QString fnh=note.getFilenameHint();
1.9 + if (fnh!="")
1.10 + textEditor->setFilenameHint(note.getFilenameHint() );
1.11 + else
1.12 + textEditor->setFilenameHint(getHeading() );
1.13 textEditor->setFontHint (note.getFontHint() );
1.14 connect (textEditor, SIGNAL (textHasChanged() ), this, SLOT (updateNoteFlag() ) );
1.15 connect (textEditor, SIGNAL (fontSizeHasChanged() ), this, SLOT (updateNoteFlag() ) );