Added the location Oracle attempted to save cards.xml to the failure message.

This commit is contained in:
Peng Liu 2014-09-15 06:15:18 -04:00 committed by Matt Lowe
parent 41a6af8ee4
commit 0d0fe73369

View file

@ -432,7 +432,7 @@ bool SaveSetsPage::validatePage()
ok = true;
QMessageBox::information(this, tr("Success"), tr("The card database has been saved successfully."));
} else {
QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to the desired location."));
QMessageBox::critical(this, tr("Error"), tr("The file could not be saved to %1").arg(fileName));;
if (defaultPathCheckBox->isChecked())
defaultPathCheckBox->setChecked(false);
}