Bins/Pixel in echoplot should default to 1, not 0.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@5570 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2015-06-10 12:58:59 +00:00
parent 7137098869
commit c4c249c8dc
2 changed files with 2 additions and 1 deletions

View File

@ -30,7 +30,7 @@ EchoGraph::EchoGraph(QSettings * settings, QWidget *parent) :
int n=m_settings->value("Smooth",0).toInt();
ui->echoPlot->m_smooth=n;
ui->smoothSpinBox->setValue(n);
n=m_settings->value("EchoBPP",0).toInt();
n=m_settings->value("EchoBPP",1).toInt();
ui->echoPlot->m_binsPerPixel=n;
ui->binsPerPixelSpinBox->setValue(n);
ui->echoPlot->m_blue=m_settings->value("BlueCurve",false).toBool();

View File

@ -19,6 +19,7 @@ EPlotter::EPlotter(QWidget *parent) : //EPlotter Constructor
m_StartFreq = -200;
m_fftBinWidth=12000.0/32768.0;
m_binsPerPixel=1;
m_fSpan=1000.0;
m_hdivs = HORZ_DIVS;
m_Running = false;