mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -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;
|
||||
}
|
||||
if (wizard()->importer->saveToFile(fileName))
|
||||
{
|
||||
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."));
|
||||
}
|
||||
} while (!ok);
|
||||
|
||||
return true;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue