summaryrefslogtreecommitdiff
authorllornkcor <llornkcor>2002-03-13 01:05:41 (UTC)
committer llornkcor <llornkcor>2002-03-13 01:05:41 (UTC)
commitfc49c34cfd2ce2adad2920daa368b25f42b8bad7 (patch) (unidiff)
tree8e5b7397427dcc0ab53d4090d72af2a38066f040
parent8e9330a8626076a3dd289a1abbe218eccd3a1784 (diff)
downloadopie-fc49c34cfd2ce2adad2920daa368b25f42b8bad7.zip
opie-fc49c34cfd2ce2adad2920daa368b25f42b8bad7.tar.gz
opie-fc49c34cfd2ce2adad2920daa368b25f42b8bad7.tar.bz2
fixed err when openinging a file from Docs tab, the edited asterik wasn't being set
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)
877 } else { 877 } else {
878 openFile(DocLnk(fileref)); 878 openFile(DocLnk(fileref));
879 } 879 }
880 editor->setEdited(TRUE);
881 edited1=FALSE;
882 edited=TRUE;
880} 883}
881 884
882void TextEdit::closeEvent( QCloseEvent *e ) 885void TextEdit::closeEvent( QCloseEvent *e )