diff options
Diffstat (limited to 'qt-ui/divelogexportdialog.cpp')
-rw-r--r-- | qt-ui/divelogexportdialog.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index 602d45035..84be70be5 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -176,8 +176,7 @@ void DiveLogExportDialog::on_buttonBox_accepted() } break; case 1: - filename = QFileDialog::getSaveFileName(this, tr("Export Subsurface"), lastDir, - tr("Folders"), 0, QFileDialog::ShowDirsOnly); + filename = QFileDialog::getExistingDirectory(this, tr("Export Subsurface"), lastDir); if (!filename.isNull() && !filename.isEmpty()) exportHtmlInit(filename); break; |