Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (show 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() | |||
745 | edited=FALSE; | 745 | edited=FALSE; |
746 | if(caption().left(1)=="*") | ||
746 | setCaption(caption().right(caption().length()-1)); | 747 | setCaption(caption().right(caption().length()-1)); |
@@ -834,5 +835,5 @@ bool TextEdit::saveAs() | |||
834 | } | 835 | } |
835 | editor->setEdited( FALSE); | 836 | editor->setEdited(TRUE); |
836 | edited1=FALSE; | 837 | edited1=FALSE; |
837 | edited=FALSE; | 838 | edited=TRUE; |
838 | if(caption().left(1)=="*") | 839 | if(caption().left(1)=="*") |