Merge pull request #610 from Cockatrice/oracle-save-location

Inform user of cards.xml save location on success
This commit is contained in:
Gavin Bisesi 2015-01-26 20:33:42 -05:00
commit aa1814ef8f

View file

@ -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())