1.1 --- a/texteditor.cpp Tue Nov 04 12:09:10 2008 +0000
1.2 +++ b/texteditor.cpp Mon Dec 08 16:57:33 2008 +0000
1.3 @@ -157,6 +157,7 @@
1.4 void TextEditor::setFilename(const QString &fn)
1.5 {
1.6 if (state==filledEditor)
1.7 + {
1.8 if (fn.isEmpty() )
1.9 {
1.10 filename="";
1.11 @@ -167,6 +168,7 @@
1.12 filename=fn;
1.13 statusBar()->message( tr(QString( "Current filename is %1" ).arg( filename ),"Statusbar message"), statusbarTime );
1.14 }
1.15 + }
1.16 }
1.17
1.18 QString TextEditor::getFilename()