allow oracle to run in background with direct xml downloads (#6241)

Took 5 minutes
This commit is contained in:
ebbit1q 2025-11-09 09:52:46 +01:00 committed by GitHub
parent ec2d8f231d
commit 0ad31fea46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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) {