#5804 Separate Surface Result : Missing update of content in property editor

This commit is contained in:
Magne Sjaastad 2020-04-16 16:08:11 +02:00
parent d675db98f6
commit bc4313f489

View File

@ -327,6 +327,13 @@ void RimIntersectionResultDefinition::fieldChangedByUi( const caf::PdmFieldHandl
if ( changedField == &m_isActive || ( changedField == &m_timeStep && isInAction ) )
{
std::vector<PdmObject*> referringObjects;
this->objectsWithReferringPtrFieldsOfType( referringObjects );
for ( auto* obj : referringObjects )
{
obj->updateConnectedEditors();
}
RimGridView* gridView = nullptr;
this->firstAncestorOrThisOfType( gridView );
if ( gridView ) gridView->scheduleCreateDisplayModelAndRedraw();