Commit 35685860 authored by Robert Applin's avatar Robert Applin
Browse files

Refs #31571. Remove unneeded if statement check.

parent 1ad4b8db
......@@ -712,9 +712,7 @@ void PreviewPlot::setScaleType(AxisID id, const QString &actionName) {
break;
}
// If linear scale need to reset tick labels
if (strcmp(scaleType.constData(), "linear") == 0)
tickLabelFormat(m_axis, m_style, m_useOffset);
tickLabelFormat(m_axis, m_style, m_useOffset);
this->replot();
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment