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
parent 2aeecc6063
commit 3cd6cc9195

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);
}