diff options
author | Miika Turkia <miika.turkia@gmail.com> | 2014-07-10 16:36:53 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-07-10 08:15:48 -0700 |
commit | 38403f6c98e53490eddc77b68f8b4aefe224d261 (patch) | |
tree | d6429dd4f2c580b2729e5ec3d75b1e2b81b807d9 /qt-ui/divelogexportdialog.cpp | |
parent | ac2bcc8e1620379020f2e3a17ed9f0b62d2a8c29 (diff) | |
download | subsurface-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.cpp | 2 |
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; |