Members of the KDE Community are recommended to subscribe to the kde-community mailing list at to allow them to participate in important discussions and receive other important announcements

Commit ba0cc4d2 authored by Stephane Mankowski's avatar Stephane Mankowski

Download unit having code and source

parent efd3c866
......@@ -2253,7 +2253,7 @@ SKGError SKGUnitObject::downloadUnitValue(UnitDownloadMode iMode, int iNbMaxValu
code.remove(QStringLiteral(" /"));
QString source = getDownloadSource();
auto* doc = qobject_cast<SKGDocumentBank*>(getDocument());
if (!code.trimmed().isEmpty() && (doc != nullptr)) {
if (!code.trimmed().isEmpty() && !source.trimmed().isEmpty() && (doc != nullptr)) {
// Get last date
QDate firstDate;
SKGStringListList result;
Markdown is supported
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