Inform user of cards.xml save location on success
This commit is contained in:
parent
f51e558e57
commit
cbdb1b8bcd
1 changed files with 3 additions and 1 deletions
|
@ -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())
|
||||||
|
|
Loading…
Reference in a new issue