#8359 Plot Project Tree : Avoid update of plot if possible

This commit is contained in:
Magne Sjaastad
2021-12-09 14:44:47 +01:00
parent 3938e9e600
commit 033cc4f1b7
6 changed files with 5 additions and 12 deletions

View File

@@ -623,10 +623,6 @@ void RimEnsembleCurveSet::fieldChangedByUi( const caf::PdmFieldHandle* changedFi
updateConnectedEditors();
RimSummaryPlot* summaryPlot = nullptr;
this->firstAncestorOrThisOfTypeAsserted( summaryPlot );
summaryPlot->updateConnectedEditors();
updateTextInPlot = true;
}
else if ( changedField == &m_yValuesSummaryAddressUiField )

View File

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

View File

@@ -1037,7 +1037,6 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
{
plot->updateAxes();
plot->updatePlotTitle();
plot->updateConnectedEditors();
RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
mainPlotWindow->updateSummaryPlotToolBar();