allow oracle to run in background with direct xml downloads

Took 5 minutes
This commit is contained in:
ebbit1q 2025-10-10 20:01:23 +02:00 committed by Lukas Brübach
parent 7e6cad974f
commit f7c57ce04f

View file

@ -637,13 +637,13 @@ void SaveSetsPage::initializePage()
retranslateUi();
if (wizard()->downloadedPlainXml) {
messageLog->hide();
return;
}
messageLog->show();
connect(wizard()->importer, &OracleImporter::setIndexChanged, this, &SaveSetsPage::updateTotalProgress);
} else {
messageLog->show();
connect(wizard()->importer, &OracleImporter::setIndexChanged, this, &SaveSetsPage::updateTotalProgress);
if (!wizard()->importer->startImport()) {
QMessageBox::critical(this, tr("Error"), tr("No set has been imported."));
if (!wizard()->importer->startImport()) {
QMessageBox::critical(this, tr("Error"), tr("No set has been imported."));
}
}
if (wizard()->backgroundMode) {