-rw-r--r-- | noncore/apps/opie-console/mainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/noncore/apps/opie-console/mainwindow.cpp b/noncore/apps/opie-console/mainwindow.cpp index 7ffeca7..89f3516 100644 --- a/noncore/apps/opie-console/mainwindow.cpp +++ b/noncore/apps/opie-console/mainwindow.cpp @@ -296,8 +296,9 @@ void MainWindow::slotSaveScript() { MimeTypes types; QStringList script; script << "text/plain"; script << "text/all"; + script << "application/octet-stream"; types.insert("Script", script); QString filename = OFileDialog::getSaveFileName(2, "/", QString::null, types); if (!filename.isEmpty()) { currentSession()->emulationHandler()->script()->saveTo(filename); @@ -311,8 +312,9 @@ void MainWindow::slotRunScript() { MimeTypes types; QStringList script; script << "text/plain"; script << "text/all"; + script << "application/octet-stream"; types.insert("Script", script); QString filename = OFileDialog::getOpenFileName(2, "/", QString::null, types); if (!filename.isEmpty()) { Script script(DocLnk(filename).file()); |