mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2002 RFT Plot: Update rftPlot editor on change of track/plot-settings
This commit is contained in:
parent
771c9d62ed
commit
312004446b
@ -139,7 +139,14 @@ void RimWellLogPlot::fieldChangedByUi(const caf::PdmFieldHandle* changedField, c
|
||||
updateTracks();
|
||||
if (m_viewer) m_viewer->updateChildrenLayout();
|
||||
}
|
||||
|
||||
|
||||
RimWellRftPlot* rftPlot(nullptr);
|
||||
this->firstAncestorOrThisOfType(rftPlot);
|
||||
|
||||
if (rftPlot)
|
||||
{
|
||||
rftPlot->updateConnectedEditors();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
Loading…
Reference in New Issue
Block a user