From d35c5036c6dcda67ebcbc2f7ba61222d743cf7f6 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 19 Mar 2024 16:49:38 +0100 Subject: [PATCH] Make sure all editors are updated after source stepping --- .../Summary/RimSummaryPlotSourceStepping.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryPlotSourceStepping.cpp b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryPlotSourceStepping.cpp index 5119e94faf..f8222e1975 100644 --- a/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryPlotSourceStepping.cpp +++ b/ApplicationLibCode/ProjectDataModel/Summary/RimSummaryPlotSourceStepping.cpp @@ -529,9 +529,6 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi( const caf::PdmFieldHandle* // The time axis can be zoomed and will be used for all plots. Do not zoom time axis in this case. summaryMultiPlot->zoomAllYAxes(); } - - RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow(); - mainPlotWindow->updateMultiPlotToolBar(); } else { @@ -541,6 +538,11 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi( const caf::PdmFieldHandle* summaryPlot->curvesChanged.send(); } + updateAllRequiredEditors(); + + RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow(); + mainPlotWindow->updateMultiPlotToolBar(); + auto ensembleCurveColl = firstAncestorOrThisOfType(); if ( ensembleCurveColl ) {