diff options
author | Joseph W. Joshua <joejoshw@gmail.com> | 2014-08-21 19:26:18 +0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-08-21 13:31:34 -0500 |
commit | b940f078b5039046118c9b6bb2b8998a2a6088cb (patch) | |
tree | 1bd2f7c7527221f4107e249b1e0ad9756dde628c | |
parent | 0b5e3389e26892a8670e33947f50a5ed1d1a810e (diff) | |
download | subsurface-b940f078b5039046118c9b6bb2b8998a2a6088cb.tar.gz |
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>
-rw-r--r-- | qt-ui/configuredivecomputerdialog.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qt-ui/configuredivecomputerdialog.cpp b/qt-ui/configuredivecomputerdialog.cpp index e40522529..a02a338d1 100644 --- a/qt-ui/configuredivecomputerdialog.cpp +++ b/qt-ui/configuredivecomputerdialog.cpp @@ -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) ); } } |