Remove some calls to replot().

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8416 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2018-01-17 17:36:53 +00:00
parent 9cf1edd239
commit da44098522

View File

@ -204,14 +204,12 @@ void WideGraph::dataSink2(float s[], float df3, int ihsym, int ndiskdata) //dat
void WideGraph::on_bppSpinBox_valueChanged(int n) //bpp void WideGraph::on_bppSpinBox_valueChanged(int n) //bpp
{ {
ui->widePlot->setBinsPerPixel(n); ui->widePlot->setBinsPerPixel(n);
replot();
} }
void WideGraph::on_waterfallAvgSpinBox_valueChanged(int n) //Navg void WideGraph::on_waterfallAvgSpinBox_valueChanged(int n) //Navg
{ {
m_waterfallAvg = n; m_waterfallAvg = n;
ui->widePlot->setWaterfallAvg(n); ui->widePlot->setWaterfallAvg(n);
replot();
} }
void WideGraph::keyPressEvent(QKeyEvent *e) //F11, F12 void WideGraph::keyPressEvent(QKeyEvent *e) //F11, F12
@ -371,7 +369,6 @@ void WideGraph::setRxBand (QString const& band)
void WideGraph::on_fStartSpinBox_valueChanged(int n) //fStart void WideGraph::on_fStartSpinBox_valueChanged(int n) //fStart
{ {
ui->widePlot->setStartFreq(n); ui->widePlot->setStartFreq(n);
replot();
} }
void WideGraph::readPalette () //readPalette void WideGraph::readPalette () //readPalette
@ -408,7 +405,6 @@ void WideGraph::on_cbFlatten_toggled(bool b) //Flatten
ui->cbRef->setChecked(false); ui->cbRef->setChecked(false);
} }
ui->widePlot->setFlatten(m_bFlatten,m_bRef); ui->widePlot->setFlatten(m_bFlatten,m_bRef);
replot();
} }
void WideGraph::on_cbRef_toggled(bool b) void WideGraph::on_cbRef_toggled(bool b)
@ -419,7 +415,6 @@ void WideGraph::on_cbRef_toggled(bool b)
ui->cbFlatten->setChecked(false); ui->cbFlatten->setChecked(false);
} }
ui->widePlot->setFlatten(m_bFlatten,m_bRef); ui->widePlot->setFlatten(m_bFlatten,m_bRef);
replot();
} }
void WideGraph::on_cbControls_toggled(bool b) void WideGraph::on_cbControls_toggled(bool b)