mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1923 Add no-plot-update versions of update methods in curve system. onLoadDataAndUpdate is improved for summary curve but not always called with the "no update" flag set
This commit is contained in:
@@ -254,26 +254,26 @@ void RimWellLogExtractionCurve::fieldChangedByUi(const caf::PdmFieldHandle* chan
|
||||
|
||||
clearGeneratedSimWellPaths();
|
||||
|
||||
this->loadDataAndUpdate();
|
||||
this->loadDataAndUpdate(true);
|
||||
}
|
||||
else if (changedField == &m_wellPath)
|
||||
{
|
||||
this->loadDataAndUpdate();
|
||||
this->loadDataAndUpdate(true);
|
||||
}
|
||||
else if (changedField == &m_simWellName)
|
||||
{
|
||||
clearGeneratedSimWellPaths();
|
||||
|
||||
this->loadDataAndUpdate();
|
||||
this->loadDataAndUpdate(true);
|
||||
}
|
||||
else if (changedField == &m_trajectoryType ||
|
||||
changedField == &m_branchIndex)
|
||||
{
|
||||
this->loadDataAndUpdate();
|
||||
this->loadDataAndUpdate(true);
|
||||
}
|
||||
else if (changedField == &m_timeStep)
|
||||
{
|
||||
this->loadDataAndUpdate();
|
||||
this->loadDataAndUpdate(true);
|
||||
}
|
||||
|
||||
if (changedField == &m_addCaseNameToCurveName ||
|
||||
@@ -283,14 +283,14 @@ void RimWellLogExtractionCurve::fieldChangedByUi(const caf::PdmFieldHandle* chan
|
||||
changedField == &m_addDateToCurveName)
|
||||
{
|
||||
this->uiCapability()->updateConnectedEditors();
|
||||
updateCurveName();
|
||||
updateCurveNameAndUpdatePlotLegend();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimWellLogExtractionCurve::onLoadDataAndUpdate()
|
||||
void RimWellLogExtractionCurve::onLoadDataAndUpdate(bool updateParentPlot)
|
||||
{
|
||||
RimWellLogCurve::updateCurvePresentation();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user