mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
Use proper export text instead of save
When exporting UDDF logs the file name selection dialog should talk about export, not save. This patch changes that text Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
1306c0fecb
commit
85a3f10508
2 changed files with 2 additions and 2 deletions
|
@ -810,7 +810,7 @@ void DiveListView::exportSelectedDivesAsUDDF()
|
|||
QString filename;
|
||||
QFileInfo fi(system_default_filename());
|
||||
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Save File as"), fi.absolutePath(),
|
||||
filename = QFileDialog::getSaveFileName(this, tr("Export UDDF File as"), fi.absolutePath(),
|
||||
tr("UDDF files (*.uddf *.UDDF)"));
|
||||
if (!filename.isNull() && !filename.isEmpty())
|
||||
export_dives_uddf(filename.toUtf8(), true);
|
||||
|
|
|
@ -277,7 +277,7 @@ void MainWindow::updateLastUsedDir(const QString &dir)
|
|||
void MainWindow::on_actionExportUDDF_triggered()
|
||||
{
|
||||
QFileInfo fi(system_default_filename());
|
||||
QString filename = QFileDialog::getSaveFileName(this, tr("Save File as"), fi.absolutePath(),
|
||||
QString filename = QFileDialog::getSaveFileName(this, tr("Export UDDF File as"), fi.absolutePath(),
|
||||
tr("UDDF files (*.uddf *.UDDF)"));
|
||||
if (!filename.isNull() && !filename.isEmpty())
|
||||
export_dives_uddf(filename.toUtf8(), false);
|
||||
|
|
Loading…
Reference in a new issue