From 2c6f0c49a7410df96d843c74b60fccac300ce5e6 Mon Sep 17 00:00:00 2001 From: Dhanya Maliakal Date: Thu, 12 Mar 2015 13:45:45 +0100 Subject: [PATCH] lets gui know if old plot --- slsDetectorGui/src/qDrawPlot.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/slsDetectorGui/src/qDrawPlot.cpp b/slsDetectorGui/src/qDrawPlot.cpp index c5ff3f6de..43d4d14c1 100644 --- a/slsDetectorGui/src/qDrawPlot.cpp +++ b/slsDetectorGui/src/qDrawPlot.cpp @@ -1258,6 +1258,8 @@ int qDrawPlot::MeasurementFinished(int currentMeasurementIndex, int fileIndex){ #endif emit SetCurrentMeasurementSignal(currentMeasurement); SetupMeasurement(); + if((myDet->setReceiverOnline()==slsDetectorDefs::ONLINE_FLAG) && (myDet->getFramesCaughtByReceiver() == 0)) + boxPlot->setTitle("OLD_plot.raw"); return 0; }