From 1e8c7bd637490c97208bec7c3292e851b5f1ecb7 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Mon, 8 May 2017 12:33:00 +0200 Subject: [PATCH] not necessary to check file name --- slsDetectorGui/src/qDrawPlot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index 2db6f1058..bffc2d123 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -766,10 +766,10 @@ int qDrawPlot::GetData(detectorData *data,int fIndex, int subIndex){ progress=(int)data->progressIndex; currentFrameIndex = fileIOStatic::getIndicesFromFileName(string(data->fileName),currentFileIndex); //happens if receiver sends a null and empty file name - if(string(data->fileName).empty()){ + /*if(string(data->fileName).empty()){ cout << "Received empty file name. Exiting function without updating data for plot." << endl; return -1; - } + }*/ #ifdef VERYVERBOSE cout << "progress:" << progress << endl; #endif