Skip to content
Snippets Groups Projects
Commit 67fbe21f authored by Matthew D Jones's avatar Matthew D Jones
Browse files

Re #11422 Check type against ScaleTransformation

parent ad73df3a
No related branches found
No related tags found
No related merge requests found
...@@ -11803,7 +11803,7 @@ void ApplicationWindow::analyzeCurve(Graph *g, Analysis operation, const QString ...@@ -11803,7 +11803,7 @@ void ApplicationWindow::analyzeCurve(Graph *g, Analysis operation, const QString
ScaleEngine *se = dynamic_cast<ScaleEngine *>(g->plotWidget()->axisScaleEngine(c->xAxis())); ScaleEngine *se = dynamic_cast<ScaleEngine *>(g->plotWidget()->axisScaleEngine(c->xAxis()));
if(se) if(se)
{ {
if(se->type() == QwtScaleTransformation::Log10) if(se->type() == ScaleTransformation::Log10)
fitter = new LogisticFit (this, g); fitter = new LogisticFit (this, g);
else else
fitter = new SigmoidalFit (this, g); fitter = new SigmoidalFit (this, g);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment