summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp3
1 files changed, 3 insertions, 0 deletions
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 )