mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-05 04:53:54 -07:00
allow oracle to run in background with direct xml downloads (#6241)
Took 5 minutes
This commit is contained in:
parent
ec2d8f231d
commit
0ad31fea46
1 changed files with 6 additions and 6 deletions
|
|
@ -637,13 +637,13 @@ void SaveSetsPage::initializePage()
|
||||||
retranslateUi();
|
retranslateUi();
|
||||||
if (wizard()->downloadedPlainXml) {
|
if (wizard()->downloadedPlainXml) {
|
||||||
messageLog->hide();
|
messageLog->hide();
|
||||||
return;
|
} else {
|
||||||
}
|
messageLog->show();
|
||||||
messageLog->show();
|
connect(wizard()->importer, &OracleImporter::setIndexChanged, this, &SaveSetsPage::updateTotalProgress);
|
||||||
connect(wizard()->importer, &OracleImporter::setIndexChanged, this, &SaveSetsPage::updateTotalProgress);
|
|
||||||
|
|
||||||
if (!wizard()->importer->startImport()) {
|
if (!wizard()->importer->startImport()) {
|
||||||
QMessageBox::critical(this, tr("Error"), tr("No set has been imported."));
|
QMessageBox::critical(this, tr("Error"), tr("No set has been imported."));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (wizard()->backgroundMode) {
|
if (wizard()->backgroundMode) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue