Skip to content

Commit

Permalink
Re #11422 Check type against ScaleTransformation
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew D Jones authored and Matthew D Jones committed Aug 13, 2015
1 parent ad73df3 commit 67fbe21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11803,7 +11803,7 @@ void ApplicationWindow::analyzeCurve(Graph *g, Analysis operation, const QString
ScaleEngine *se = dynamic_cast<ScaleEngine *>(g->plotWidget()->axisScaleEngine(c->xAxis()));
if(se)
{
if(se->type() == QwtScaleTransformation::Log10)
if(se->type() == ScaleTransformation::Log10)
fitter = new LogisticFit (this, g);
else
fitter = new SigmoidalFit (this, g);
Expand Down

0 comments on commit 67fbe21

Please sign in to comment.