From 13d8ac43bf8d4c6e492e57d2ab3c7353935a9365 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Wed, 13 Mar 2002 02:57:16 +0000 Subject: I fixed somethin --- (limited to 'core/apps/textedit') 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)); -- cgit v0.9.0.2