Commit cbdb1b8b authored by Gavin Bises's avatar Gavin Bises
Browse files

Inform user of cards.xml save location on success

parent f51e558e
...@@ -445,7 +445,9 @@ bool SaveSetsPage::validatePage() ...@@ -445,7 +445,9 @@ bool SaveSetsPage::validatePage()
if (wizard()->importer->saveToFile(fileName)) if (wizard()->importer->saveToFile(fileName))
{ {
ok = true; ok = true;
QMessageBox::information(this, tr("Success"), tr("The card database has been saved successfully.")); QMessageBox::information(this,
tr("Success"),
tr("The card database has been saved successfully to\n%1").arg(fileName));
} else { } else {
QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to %1").arg(fileName));; QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to %1").arg(fileName));;
if (defaultPathCheckBox->isChecked()) if (defaultPathCheckBox->isChecked())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment