mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
ac2bcc8e16
commit
38403f6c98
1 changed files with 1 additions and 1 deletions
|
@ -168,7 +168,7 @@ void DiveLogExportDialog::on_buttonBox_accepted()
|
||||||
tr("XML files (*.xml *.ssrf)"));
|
tr("XML files (*.xml *.ssrf)"));
|
||||||
if (!filename.isNull() && !filename.isEmpty()) {
|
if (!filename.isNull() && !filename.isEmpty()) {
|
||||||
QByteArray bt = QFile::encodeName(filename);
|
QByteArray bt = QFile::encodeName(filename);
|
||||||
save_dives_logic(bt.data(), true);
|
save_dives_logic(bt.data(), ui->exportSelected->isChecked());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue