summaryrefslogtreecommitdiff
path: root/core/apps/textedit/textedit.cpp
Side-by-side diff
Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp4
1 files changed, 2 insertions, 2 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
@@ -563,3 +563,4 @@ void TextEdit::newFileOpen()
edited=FALSE;
- setCaption(caption().right(caption().length()-1));
+ if(caption().left(1)=="*")
+ setCaption(caption().right(caption().length()-1));
}
@@ -694,3 +695,2 @@ void TextEdit::openFile( const DocLnk &f )
edited=FALSE;
- setCaption(caption().right(caption().length()-1));