author | llornkcor <llornkcor> | 2002-03-13 02:57:16 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-03-13 02:57:16 (UTC) |
commit | 13d8ac43bf8d4c6e492e57d2ab3c7353935a9365 (patch) (side-by-side diff) | |
tree | 4efc47c39ebde1ad5bc6fe824b79d19ccb2cab7d /core/apps/textedit | |
parent | ad4f318f600a00905d45a780cd100bcf1e08efaa (diff) | |
download | opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.zip opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.gz opie-13d8ac43bf8d4c6e492e57d2ab3c7353935a9365.tar.bz2 |
I fixed somethin
-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 @@ -743,6 +743,7 @@ bool TextEdit::save() editor->setEdited( FALSE); edited1=FALSE; edited=FALSE; + if(caption().left(1)=="*") setCaption(caption().right(caption().length()-1)); @@ -832,9 +833,9 @@ bool TextEdit::saveAs() } } } - editor->setEdited( FALSE); + editor->setEdited(TRUE); edited1=FALSE; - edited=FALSE; + edited=TRUE; if(caption().left(1)=="*") setCaption(caption().right(caption().length()-1)); |