Commit 3cd6cc91 authored by Peng Liu's avatar Peng Liu
Browse files

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

parent 2aeecc60
...@@ -432,7 +432,7 @@ bool SaveSetsPage::validatePage() ...@@ -432,7 +432,7 @@ bool SaveSetsPage::validatePage()
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."));
} else { } 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()) if (defaultPathCheckBox->isChecked())
defaultPathCheckBox->setChecked(false); defaultPathCheckBox->setChecked(false);
} }
......
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