mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-23 23:13:39 -06:00
RFT plot. Reset branch index when changing well due to exception
This commit is contained in:
parent
41db3e8b10
commit
5a5a36abf5
@ -710,6 +710,11 @@ void RimWellRftPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
||||
|
||||
if (changedField == &m_wellPathNameOrSimWellName || changedField == &m_branchIndex)
|
||||
{
|
||||
if (changedField == &m_wellPathNameOrSimWellName)
|
||||
{
|
||||
m_branchIndex = 0;
|
||||
}
|
||||
|
||||
RimWellLogTrack* const plotTrack = m_wellLogPlot->trackByIndex(0);
|
||||
plotTrack->deleteAllCurves();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user