mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-14 19:18:55 -07:00
add success notification to oracle
This commit is contained in:
parent
ef1fbc0db9
commit
2e051c3fd7
1 changed files with 4 additions and 1 deletions
|
|
@ -418,9 +418,12 @@ bool SaveSetsPage::validatePage()
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (wizard()->importer->saveToFile(fileName))
|
if (wizard()->importer->saveToFile(fileName))
|
||||||
|
{
|
||||||
ok = true;
|
ok = true;
|
||||||
else
|
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 the desired location."));
|
||||||
|
}
|
||||||
} while (!ok);
|
} while (!ok);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue