diff --git a/plotter.cpp b/plotter.cpp index 3d19e7647..737fb4ff6 100644 --- a/plotter.cpp +++ b/plotter.cpp @@ -170,7 +170,6 @@ void CPlotter::draw(float swide[], bool bScroll, bool bRed) if (swide[i]<1.e29) painter1.setPen(g_ColorTbl[y1]); painter1.drawPoint(i,m_j); } -// if(m_bReplot) return; m_line++; diff --git a/widegraph.cpp b/widegraph.cpp index f83adaaa2..350eae9b0 100644 --- a/widegraph.cpp +++ b/widegraph.cpp @@ -329,7 +329,7 @@ void WideGraph::on_spec2dComboBox_currentIndexChanged(const QString &arg1) if(arg1=="Reference") { ui->widePlot->setReference(true); } -// if(ui->widePlot->scaleOK ()) ui->widePlot->draw(swide,false,false); + replot(); } void WideGraph::on_fSplitSpinBox_valueChanged(int n) //fSplit