mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2026-06-02 05:54:41 -04:00
Erase old T M R 73 when RxFreq has changed.
This commit is contained in:
+3
-1
@@ -141,10 +141,12 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
||||
//move current data down one line (must do this before attaching a QPainter object)
|
||||
if(bScroll and !m_bReplot) m_WaterfallPixmap.scroll(0,1,0,0,m_w,m_h1);
|
||||
QPainter painter1(&m_WaterfallPixmap);
|
||||
if(m_bFirst or bRed or (!m_bQ65_Sync and !m_bQ65_MultiSync) or m_mode!=m_mode0 or m_bResized) {
|
||||
if(m_bFirst or bRed or (!m_bQ65_Sync and !m_bQ65_MultiSync) or m_mode!=m_mode0
|
||||
or m_bResized or m_rxFreq!=m_rxFreq0) {
|
||||
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
|
||||
m_bFirst=false;
|
||||
m_bResized=false;
|
||||
m_rxFreq0=m_rxFreq;
|
||||
}
|
||||
m_mode0=m_mode;
|
||||
QPainter painter2D(&m_2DPixmap);
|
||||
|
||||
Reference in New Issue
Block a user