gui bug fix: setting streaming timer should also set streaming freq to 0

This commit is contained in:
2020-09-30 12:21:33 +02:00
parent 54c719461d
commit b7ec110c57

View File

@ -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));