author | llornkcor <llornkcor> | 2002-12-20 13:53:13 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-12-20 13:53:13 (UTC) |
commit | 9c92aad4a3d8d83fa41e25ce58d5103599826a5b (patch) (unidiff) | |
tree | c6cbd45f55da507ee1f0e53bebc63d9bb0db94e9 /core | |
parent | b7dafc7fc37d05498cf3ad7b7d0981bf3a341b4a (diff) | |
download | opie-9c92aad4a3d8d83fa41e25ce58d5103599826a5b.zip opie-9c92aad4a3d8d83fa41e25ce58d5103599826a5b.tar.gz opie-9c92aad4a3d8d83fa41e25ce58d5103599826a5b.tar.bz2 |
save fix when no name bug #577
-rw-r--r-- | core/apps/textedit/textedit.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp index bd7cfb6..4f4f994 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp | |||
@@ -789,2 +789,7 @@ void TextEdit::showEditTools() { | |||
789 | bool TextEdit::save() { | 789 | bool TextEdit::save() { |
790 | qDebug("saveAsFile " + currentFileName); | ||
791 | if(currentFileName.isEmpty()) { | ||
792 | saveAs(); | ||
793 | return; | ||
794 | } | ||
790 | QString file = doc->file(); | 795 | QString file = doc->file(); |