summaryrefslogtreecommitdiffstats
path: root/qt-ui/divelogexportdialog.cpp
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-07-10 16:36:53 +0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-10 08:15:48 -0700
commit38403f6c98e53490eddc77b68f8b4aefe224d261 (patch)
treed6429dd4f2c580b2729e5ec3d75b1e2b81b807d9 /qt-ui/divelogexportdialog.cpp
parentac2bcc8e1620379020f2e3a17ed9f0b62d2a8c29 (diff)
downloadsubsurface-38403f6c98e53490eddc77b68f8b4aefe224d261.tar.gz
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 <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/divelogexportdialog.cpp')
-rw-r--r--qt-ui/divelogexportdialog.cpp2
1 files changed, 1 insertions, 1 deletions
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;