Mercurial > hg > orthanc
diff OrthancServer/Sources/ServerToolbox.cpp @ 4932:b7ce2bb6b881 more-tags
refactored the list of MainDicomTags to be able to change it dynamicaly. Unit tests and Integration tests ok
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 09 Mar 2022 11:17:08 +0100 |
parents | 6eff25f70121 |
children | 94a7b681b340 |
line wrap: on
line diff
--- a/OrthancServer/Sources/ServerToolbox.cpp Mon Mar 07 10:55:43 2022 +0100 +++ b/OrthancServer/Sources/ServerToolbox.cpp Wed Mar 09 11:17:08 2022 +0100 @@ -181,7 +181,7 @@ transaction.ClearMainDicomTags(resource); ResourcesContent tags(false /* prevent the setting of metadata */); - tags.AddResource(resource, level, dicomSummary); + tags.AddResource(resource, level, dicomSummary); // MORE_TAGS: re-set the dicomMainTagsList metadata transaction.SetResourcesContent(tags); } catch (OrthancException&)