From 6a8b3960d79b845648f909dd06dd3bb795cc0eb0 Mon Sep 17 00:00:00 2001 From: Jordan Sherer Date: Fri, 5 Oct 2018 10:23:28 -0400 Subject: [PATCH] Default to 2 bins per pixel --- widegraph.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widegraph.cpp b/widegraph.cpp index 883c9a7..39ecfa9 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -84,7 +84,7 @@ WideGraph::WideGraph(QSettings * settings, QWidget *parent) : if(ui->widePlot->cumulative()) ui->spec2dComboBox->setCurrentIndex(1); if(ui->widePlot->linearAvg()) ui->spec2dComboBox->setCurrentIndex(2); if(ui->widePlot->Reference()) ui->spec2dComboBox->setCurrentIndex(3); - int nbpp=m_settings->value("BinsPerPixel", 4).toInt(); + int nbpp=m_settings->value("BinsPerPixel", 2).toInt(); ui->widePlot->setBinsPerPixel(nbpp); ui->sbPercent2dPlot->setValue(m_Percent2DScreen); ui->widePlot->SetPercent2DScreen(m_Percent2DScreen);