-rw-r--r-- | core/apps/textedit/textedit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index 2f59ede..019ffee 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -692,9 +692,9 @@ bool TextEdit::save() { QString file = doc->file(); QString name= doc->name(); QString rt = editor->text(); - currentFileName= file ; + currentFileName= name ; qDebug("saveFile "+currentFileName); doc->setName( name); FileManager fm; |