#836 Fixed missing data load when toggling on a curve

This bug would also cause wrong data to be displayed, if a curve had been toggled off, then changed, and toggled on again.
This commit is contained in:
Jacob Støren 2016-09-15 08:19:37 +02:00
parent 5e9308f7b3
commit 4d005bdfc8

View File

@ -114,6 +114,7 @@ void RimPlotCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedField, con
if (changedField == &m_showCurve)
{
this->updateCurveVisibility();
if (m_showCurve()) loadDataAndUpdate();
}
else if (changedField == &m_curveName)
{