X-Git-Url: https://bilbo.iut-bm.univ-fcomte.fr/and/gitweb/blast.git/blobdiff_plain/48f48e6a26a54751ecd0ab90b10ab972cc5e89cd..6e2b3026c6a496e81642c373796bd39dad33d2a6:/SourceItem.cpp?ds=sidebyside diff --git a/SourceItem.cpp b/SourceItem.cpp index ca252c1..52cf887 100644 --- a/SourceItem.cpp +++ b/SourceItem.cpp @@ -598,7 +598,7 @@ void SourceItem::load(QDomElement funcElement) throw(Exception) { throw(Exception(PROJECTFILE_CORRUPTED)); } if (referenceMd5 != referenceXml) { - throw(Exception(PROJECTFILE_CORRUPTED)); + reference = referenceXml; } else { reference = referenceMd5; @@ -630,7 +630,7 @@ void SourceItem::load(QDomElement funcElement) throw(Exception) { BlockParameter *blockParam = NULL; blockParam = functionalBlock->getParameterFromName(name); if (blockParam == NULL) throw(Exception(PROJECTFILE_CORRUPTED)); - blockParam->setValue(value); + blockParam->setValue(value); } // recreate all (non-control) interfaces because of some may have a multiplicity>1 with several examplars