mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Propagate updated object to onChildrenUpdated()
This commit is contained in:
@@ -126,9 +126,12 @@ void RimSummaryCurveCollection::onChildrenUpdated( caf::PdmChildArrayFieldHandle
|
||||
{
|
||||
if ( childArray == &m_curves )
|
||||
{
|
||||
for ( RimSummaryCurve* curve : m_curves )
|
||||
for ( auto obj : updatedObjects )
|
||||
{
|
||||
curve->updateCurveAppearance();
|
||||
if ( auto curve = dynamic_cast<RimSummaryCurve*>( obj ) )
|
||||
{
|
||||
curve->updateCurveAppearance();
|
||||
}
|
||||
}
|
||||
|
||||
auto parentPlot = firstAncestorOrThisOfTypeAsserted<RimSummaryPlot>();
|
||||
|
||||
Reference in New Issue
Block a user