Skip to content

Commit

Permalink
Make sure all editors are updated after source stepping
Browse files Browse the repository at this point in the history
  • Loading branch information
magnesj committed Mar 19, 2024
1 parent b254c5f commit 03adb42
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -530,8 +530,7 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi( const caf::PdmFieldHandle*
summaryMultiPlot->zoomAllYAxes();
}

RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
mainPlotWindow->updateMultiPlotToolBar();
updateAllRequiredEditors();
}
else
{
Expand All @@ -541,6 +540,11 @@ void RimSummaryPlotSourceStepping::fieldChangedByUi( const caf::PdmFieldHandle*
summaryPlot->curvesChanged.send();
}

updateAllRequiredEditors();

RiuPlotMainWindow* mainPlotWindow = RiaGuiApplication::instance()->mainPlotWindow();
mainPlotWindow->updateMultiPlotToolBar();

auto ensembleCurveColl = firstAncestorOrThisOfType<RimEnsembleCurveSetCollection>();
if ( ensembleCurveColl )
{
Expand Down

0 comments on commit 03adb42

Please sign in to comment.