summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/apps/textedit/textedit.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/core/apps/textedit/textedit.cpp b/core/apps/textedit/textedit.cpp
index c1f74bb..ccc43fa 100644
--- a/core/apps/textedit/textedit.cpp
+++ b/core/apps/textedit/textedit.cpp
@@ -512,3 +512,8 @@ void TextEdit::fileOpen()
512// if(!b) { 512// if(!b) {
513 QString str = OFileDialog::getOpenFileName( 2,"/");//,"", "*", this ); 513 QMap<QString, QStringList> map;
514 map.insert(tr("All"), QStringList() );
515 QStringList text;
516 text << "text/*";
517 map.insert(tr("Text"), text );
518 QString str = OFileDialog::getOpenFileName( 2,"/", QString::null, map);//,"", "*", this );
514 if(!str.isEmpty() ) 519 if(!str.isEmpty() )