From e711aa23da41f8b62c8b3dae1fd0906cbb1e41c5 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Sun, 31 Jan 2021 14:44:06 -0500 Subject: [PATCH] Don't display red sync curve where it's equal to 0.0. --- widgets/plotter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/plotter.cpp b/widgets/plotter.cpp index ca197f109..12ee7885d 100644 --- a/widgets/plotter.cpp +++ b/widgets/plotter.cpp @@ -287,7 +287,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) if(f.eof()) break; x=XfromFreq(freq); // if(m_bQ65_MultiSync) sync=sync2; - if(sync>-99.0) { + if(sync > -99.0 and sync != 0.0) { y=m_h2*(0.9 - 0.09*gain2d*sync) - m_plot2dZero - 10; LineBuf2[k2].setX(x); //Red sync curve LineBuf2[k2].setY(y);