From 38403f6c98e53490eddc77b68f8b4aefe224d261 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Thu, 10 Jul 2014 16:36:53 +0300 Subject: [PATCH] Fix exporting all dives in Subsurface format Exporting in Subsurface format saved only selected dives even if user attempted to save all dives. Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- qt-ui/divelogexportdialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt-ui/divelogexportdialog.cpp b/qt-ui/divelogexportdialog.cpp index c2302687a..f2ff0d194 100644 --- a/qt-ui/divelogexportdialog.cpp +++ b/qt-ui/divelogexportdialog.cpp @@ -168,7 +168,7 @@ void DiveLogExportDialog::on_buttonBox_accepted() tr("XML files (*.xml *.ssrf)")); if (!filename.isNull() && !filename.isEmpty()) { QByteArray bt = QFile::encodeName(filename); - save_dives_logic(bt.data(), true); + save_dives_logic(bt.data(), ui->exportSelected->isChecked()); } } break;