From fc49c34cfd2ce2adad2920daa368b25f42b8bad7 Mon Sep 17 00:00:00 2001 From: llornkcor Date: Wed, 13 Mar 2002 01:05:41 +0000 Subject: fixed err when openinging a file from Docs tab, the edited asterik wasn't being set --- (limited to 'core') diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index dafe1dc..f031a0f 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -877,6 +877,9 @@ void TextEdit::setDocument(const QString& fileref) } else { openFile(DocLnk(fileref)); } + editor->setEdited(TRUE); + edited1=FALSE; + edited=TRUE; } void TextEdit::closeEvent( QCloseEvent *e ) -- cgit v0.9.0.2