Skip to content
Snippets Groups Projects
Commit 2a209494 authored by felmer's avatar felmer
Browse files

LMS-2844 bug fixed: Thumbnails had still sample link

SVN: 24776
parent e1295b93
No related branches found
No related tags found
No related merge requests found
...@@ -98,9 +98,9 @@ public class ImageContainerDataSet extends DataSet<DataSetInformation> implement ...@@ -98,9 +98,9 @@ public class ImageContainerDataSet extends DataSet<DataSetInformation> implement
for (IDataSet thumbnailDataset : thumbnailDatasets) for (IDataSet thumbnailDataset : thumbnailDatasets)
{ {
thumbnailDataset.setSample(sampleOrNull); thumbnailDataset.setSample(sampleOrNull);
if (thumbnailDatasets instanceof DataSet) if (thumbnailDataset instanceof DataSet)
{ {
((DataSet<?>) thumbnailDatasets).getRegistrationDetails().getDataSetInformation() ((DataSet<?>) thumbnailDataset).getRegistrationDetails().getDataSetInformation()
.setLinkSample(establishSampleLinkForContainedDataSets); .setLinkSample(establishSampleLinkForContainedDataSets);
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment