Make sure changes to valves and perforation interval visibility is reflected in track.

This commit is contained in:
Gaute Lindkvist
2018-12-05 09:11:53 +01:00
parent 4591d9f20e
commit e67a9ef12a
3 changed files with 23 additions and 0 deletions

View File

@@ -311,6 +311,10 @@ QList<caf::PdmOptionItemInfo> RimWellPathValve::calculateValueOptions(const caf:
//--------------------------------------------------------------------------------------------------
void RimWellPathValve::fieldChangedByUi(const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue)
{
RimPerforationInterval* perfInterval;
this->firstAncestorOrThisOfTypeAsserted(perfInterval);
perfInterval->updateAllReferringTracks();
RimProject* proj;
this->firstAncestorOrThisOfTypeAsserted(proj);
proj->reloadCompletionTypeResultsInAllViews();