From b7ec110c57db203caaacc34856692408b3725f01 Mon Sep 17 00:00:00 2001 From: Dhanya Thattil Date: Wed, 30 Sep 2020 12:21:33 +0200 Subject: [PATCH] gui bug fix: setting streaming timer should also set streaming freq to 0 --- slsDetectorGui/src/qTabPlot.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/slsDetectorGui/src/qTabPlot.cpp b/slsDetectorGui/src/qTabPlot.cpp index 5a0a9e9fc..9d7b89401 100644 --- a/slsDetectorGui/src/qTabPlot.cpp +++ b/slsDetectorGui/src/qTabPlot.cpp @@ -685,6 +685,9 @@ void qTabPlot::SetStreamingFrequency() { LOG(logINFO) << "Setting Streaming Frequency to " << freqVal; det->setRxZmqFrequency(freqVal); } else { + LOG(logINFO) << "Setting Streaming Frequency to " << 0 + << " (timer)"; + det->setRxZmqFrequency(0); LOG(logINFO) << "Setting Streaming Timer to " << timeVal << " " << qDefs::getUnitString(timeUnit); auto timeMS = qDefs::getMSTime(std::make_pair(timeVal, timeUnit));