Diffstat (limited to 'core/apps/textedit/textedit.cpp') (more/less context) (show whitespace changes)
-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 9ef423c..4cf1b07 100644 --- a/core/apps/textedit/textedit.cpp +++ b/core/apps/textedit/textedit.cpp @@ -637,7 +637,7 @@ void TextEdit::fileOpen() { QString str = OFileDialog::getOpenFileName( 2, QPEApplication::documentDir(), QString::null, map); - if( QFile(str).exists()) + if( QFile(str).exists() && !QFileInfo(str).isDir() ) openFile( str ); else updateCaption(); |