#2002 RFT Plot: Update rftPlot editor on change of track/plot-settings

This commit is contained in:
Rebecca Cox 2017-11-03 13:47:51 +01:00
parent 771c9d62ed
commit 312004446b
2 changed files with 16 additions and 8 deletions

View File

@ -140,6 +140,13 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
if (m_viewer) m_viewer->updateChildrenLayout();
}
RimWellRftPlot* rftPlot(nullptr);
this->firstAncestorOrThisOfType(rftPlot);
if (rftPlot)
{
rftPlot->updateConnectedEditors();
}
}
//--------------------------------------------------------------------------------------------------

View File

@ -245,13 +245,6 @@ void RimWellLogTrack::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
else if (changedField == &m_showFormations)
{
loadDataAndUpdate();
RimWellRftPlot* rftPlot;
this->firstAncestorOrThisOfType(rftPlot);
if (rftPlot)
{
rftPlot->updateConnectedEditors();
}
}
else if (changedField == &m_formationCase)
{
@ -287,6 +280,14 @@ void RimWellLogTrack::fieldChangedByUi(const caf::PdmFieldHandle* changedField,
{
loadDataAndUpdate();
}
RimWellRftPlot* rftPlot(nullptr);
this->firstAncestorOrThisOfType(rftPlot);
if (rftPlot)
{
rftPlot->updateConnectedEditors();
}
}
//--------------------------------------------------------------------------------------------------