Exporting in Subsurface format saved only selected dives even if user attempted to save all dives.
Signed-off-by: Miika Turkia <[email protected]> --- 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 c230268..f2ff0d1 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; -- 1.9.1 _______________________________________________ subsurface mailing list [email protected] http://lists.hohndel.org/cgi-bin/mailman/listinfo/subsurface
