Merge branch 'feat-fst280' of bitbucket.org:k1jt/wsjtx into feat-fst280

This commit is contained in:
Bill Somerville 2020-12-19 16:34:38 +00:00
commit dc771cdd88
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
2 changed files with 3 additions and 1 deletions

View File

@ -140,10 +140,11 @@ 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) {
if(m_bFirst or bRed or !m_bQ65_Sync or m_mode!=m_mode0) {
m_2DPixmap = m_OverlayPixmap.copy(0,0,m_w,m_h2);
m_bFirst=false;
}
m_mode0=m_mode;
QPainter painter2D(&m_2DPixmap);
if(!painter2D.isActive()) return;
QFont Font("Arial");

View File

@ -145,6 +145,7 @@ private:
QString m_Str;
QString m_HDivText[483];
QString m_mode;
QString m_mode0;
QString m_modeTx;
QString m_rxBand;
QString m_redFile;