author | llornkcor <llornkcor> | 2002-02-19 01:19:38 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-02-19 01:19:38 (UTC) |
commit | fe66103c21d3337bb6c7fc7ad112cbdedd255d67 (patch) (side-by-side diff) | |
tree | 08dc9502be50036b96aa4158d849e363af0b23a1 | |
parent | 05ed9bc7fbd667815e2e3ec608773d19bfd294d2 (diff) | |
download | opie-fe66103c21d3337bb6c7fc7ad112cbdedd255d67.zip opie-fe66103c21d3337bb6c7fc7ad112cbdedd255d67.tar.gz opie-fe66103c21d3337bb6c7fc7ad112cbdedd255d67.tar.bz2 |
doh
-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 @@ -684,25 +684,25 @@ void TextEdit::showEditTools() // updateCaption(); editorStack->raiseWidget( editor ); setWState (WState_Reserved1 ); } /*! unprompted save */ 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; if ( !fm.saveFile( *doc, rt ) ) { return false; } // if(doc) // delete doc; // doc = 0; editor->setEdited( false ); return true; |