From d9f293637edc497e67807828c637d8bd622b223f Mon Sep 17 00:00:00 2001 From: Harini Chaganti <155201385+har13205@users.noreply.github.com> Date: Tue, 25 Jun 2024 10:43:38 -0700 Subject: [PATCH] fix to partial data download issue (#1724) --- SampleViewer/SampleManager.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/SampleViewer/SampleManager.cpp b/SampleViewer/SampleManager.cpp index 2685c326f7..9d1a0878b2 100644 --- a/SampleViewer/SampleManager.cpp +++ b/SampleViewer/SampleManager.cpp @@ -416,12 +416,12 @@ bool SampleManager::dataItemsExists() for (auto dataItem : *currentSample()->dataItems()) { - if (dataItem->exists()) + if (!dataItem->exists()) { - return true; + return false; } } - return false; + return true; } void SampleManager::downloadAllDataItems()