#2838 Ensemble Curve Name : Call updateConnectedEditors on RimSummaryPlot

This commit is contained in:
Magne Sjaastad 2018-05-02 12:06:36 +02:00
parent b023bd02a3
commit 95c11d0085
2 changed files with 10 additions and 0 deletions

View File

@ -340,6 +340,12 @@ void RimEnsembleCurveSet::fieldChangedByUi(const caf::PdmFieldHandle* changedFie
if (changedField == &m_showCurves)
{
loadDataAndUpdate(true);
updateConnectedEditors();
RimSummaryPlot* summaryPlot = nullptr;
this->firstAncestorOrThisOfTypeAsserted(summaryPlot);
summaryPlot->updateConnectedEditors();
}
else if (changedField == &m_yValuesUiFilterResultSelection)
{

View File

@ -375,6 +375,10 @@ void RimEnsembleCurveSetCollection::fieldChangedByUi(const caf::PdmFieldHandle*
if (changedField == &m_showCurves)
{
loadDataAndUpdate(true);
RimSummaryPlot* summaryPlot = nullptr;
this->firstAncestorOrThisOfTypeAsserted(summaryPlot);
summaryPlot->updateConnectedEditors();
}
}