Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 78c4d8a..dafe1dc 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -558,12 +558,13 @@ void TextEdit::newFileOpen() } } delete browseForFiles; editor->setEdited( FALSE); edited1=FALSE; edited=FALSE; + if(caption().left(1)=="*") setCaption(caption().right(caption().length()-1)); } #if 0 void TextEdit::slotFind() { @@ -689,13 +690,12 @@ void TextEdit::openFile( const DocLnk &f ) delete doc; doc = new DocLnk(f); editor->setText(txt); editor->setEdited( FALSE); edited1=FALSE; edited=FALSE; - setCaption(caption().right(caption().length()-1)); qDebug("openFile doclnk "+currentFileName); doc->setName(currentFileName); updateCaption(); } |