mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-01-22 17:39:05 -08:00
add success notification to oracle
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user