Commit e8b2d8b0 authored by Volker Krause's avatar Volker Krause
Browse files

Report success on importing also when a single health cert was imported

This fixes closing the barcode scanner page when scanning a health
certificate.
parent 03b7c5e7
Pipeline #270496 passed with stage
in 2 minutes and 17 seconds
......@@ -409,7 +409,7 @@ bool ApplicationController::importData(const QByteArray &data, const QString &fi
if (!success && !healthCertImported) {
Q_EMIT infoMessage(i18n("Nothing imported."));
}
return success;
return success || healthCertImported;
}
bool ApplicationController::importText(const QString& text)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment