Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/apps/textedit/textedit.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index f031a0f..c46f089 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -745,2 +745,3 @@ bool TextEdit::save() edited=FALSE; + if(caption().left(1)=="*") setCaption(caption().right(caption().length()-1)); @@ -834,5 +835,5 @@ bool TextEdit::saveAs() } - editor->setEdited( FALSE); + editor->setEdited(TRUE); edited1=FALSE; - edited=FALSE; + edited=TRUE; if(caption().left(1)=="*") |