Make sure Show ensemble curves works when multiple curves are selected

This commit is contained in:
Magne Sjaastad
2023-10-20 11:27:29 +02:00
parent b6f2dbb915
commit 6357844d5e

View File

@@ -1109,6 +1109,13 @@ void RimEnsembleCurveSet::childFieldChangedByUi( const caf::PdmFieldHandle* chan
// Trigger update, as the axis object name might have changed. Will update the axis object of the curve set.
updateConnectedEditors();
}
if ( changedChildField == &m_statistics )
{
if ( auto summaryPlot = firstAncestorOrThisOfType<RimSummaryPlot>() )
{
summaryPlot->loadDataAndUpdate();
}
}
}
//--------------------------------------------------------------------------------------------------