mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-18 03:49:47 -06:00
Propagate updated object to onChildrenUpdated()
This commit is contained in:
1 parent
0f4d2a61f6
commit
a446f874cb
2 files changed
+23
-14
No files matched your search
@@ -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