mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#3864 Update and clamp valve positions to perforation interval when perforation interval changes.
This commit is contained in:
@@ -314,6 +314,15 @@ void RimPerforationInterval::fieldChangedByUi(const caf::PdmFieldHandle* changed
|
||||
const QVariant& oldValue,
|
||||
const QVariant& newValue)
|
||||
{
|
||||
if (changedField == &m_startMD ||
|
||||
changedField == &m_endMD)
|
||||
{
|
||||
for (RimWellPathValve* valve : m_valves())
|
||||
{
|
||||
valve->perforationIntervalUpdated();
|
||||
}
|
||||
}
|
||||
|
||||
this->updateAllReferringTracks();
|
||||
|
||||
RimProject* proj = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user