Show correct path after saving dive computer settings

When backing up dive computer settings to XML, the confirmation
dialog shows the default file path. This patch fixes that by
displaying the correct file if the user changes the backup location.

Signed-off-by: Joseph W. Joshua <joejoshw@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Joseph W. Joshua 2014-08-21 19:26:18 +03:00 committed by Dirk Hohndel
parent 0b5e3389e2
commit b940f078b5

View file

@ -404,7 +404,7 @@ void ConfigureDiveComputerDialog::on_backupButton_clicked()
} else {
QMessageBox::information(this, tr("Backup succeeded"),
tr("Your settings have been saved to: %1")
.arg(filename)
.arg(backupPath)
);
}
}