From 0d92b11055313baf99ff99015dac3e832f214386 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 5 Oct 2017 15:58:37 +0200 Subject: [PATCH] print out comment, not print if mythen else access to null --- slsDetectorGui/src/qDrawPlot.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index e94f543e8..1883fff53 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -798,9 +798,10 @@ int qDrawPlot::GetData(detectorData *data,int fIndex, int subIndex){ cout << "npoints " << data->npoints << endl; cout << "npy " << data->npy << endl; cout << "progress " << data->progressIndex << endl; - cout << "values " << data->values << endl; + if (data->values != NULL) cout << "values " << data->values << endl; cout << "errors " << data->errors << endl; cout << "angle " << data->angles << endl; + cout << "databytes " << data->databytes << endl; #endif if(!stop_signal){