From 05c33893076a33e118782f6c7d498fe82787cdcd Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sat, 20 Jan 2024 08:22:11 -0500 Subject: [PATCH] Suppress QMAP waterfall scrolling with all-zero data from qm file. --- qmap/mainwindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qmap/mainwindow.cpp b/qmap/mainwindow.cpp index 540ce0540..c553d4607 100644 --- a/qmap/mainwindow.cpp +++ b/qmap/mainwindow.cpp @@ -368,8 +368,10 @@ void MainWindow::dataSink(int k) xSignalMeter->setValue(px); // Update the signal meter //Suppress scrolling if WSJT-X is transmitting - if((m_monitoring and (!m_bWTransmitting or ui->continuous_waterfall->isChecked())) or m_diskData) { - m_wide_graph_window->dataSink2(s,nkhz,ihsym,m_diskData,lstrong); + if((m_monitoring and (!m_bWTransmitting or + ui->continuous_waterfall->isChecked())) or + (m_diskData and (px>0))) { + m_wide_graph_window->dataSink2(s,nkhz,ihsym,m_diskData,lstrong); } //Average over specified number of spectra