Don't display DT on waterfall when orange sync curve is used.

This commit is contained in:
Joe Taylor 2021-01-05 12:01:20 -05:00
parent 4fb90e336e
commit ea1510d837

View File

@ -293,6 +293,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
if(m_bQ65_MultiSync) pen0.setColor("orange"); if(m_bQ65_MultiSync) pen0.setColor("orange");
painter2D.setPen(pen0); painter2D.setPen(pen0);
painter2D.drawPolyline(LineBuf2,k); painter2D.drawPolyline(LineBuf2,k);
if(m_bQ65_Sync) {
QString t; QString t;
t = t.asprintf("DT = %6.2f",xdt); t = t.asprintf("DT = %6.2f",xdt);
painter2D.setPen(Qt::white); painter2D.setPen(Qt::white);
@ -301,6 +302,7 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
painter2D.drawText(m_w-100,m_h2/2,t); painter2D.drawText(m_w-100,m_h2/2,t);
} }
} }
}
update(); //trigger a new paintEvent update(); //trigger a new paintEvent
m_bScaleOK=true; m_bScaleOK=true;
} }