mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 04:11:16 -05:00
Avoid a crash when Rx samples arrive before wide graph plotter is ready
This commit is contained in:
parent
c5a591f30c
commit
a28402c527
@ -123,6 +123,7 @@ void CPlotter::paintEvent(QPaintEvent *) // paint
|
||||
|
||||
void CPlotter::draw(float swide[], bool bScroll, bool bRed)
|
||||
{
|
||||
if (!m_TRperiod) return; // not ready to plot yet
|
||||
int j,j0;
|
||||
static int ktop=0;
|
||||
float y,y2,ymin;
|
||||
|
Loading…
Reference in New Issue
Block a user