mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2975 Ensemble Curve Set: Add compound update function updateAll()
This commit is contained in:
@@ -75,20 +75,14 @@ void RimEnsembleCurveSetCollection::loadDataAndUpdate(bool updateParentPlot)
|
||||
{
|
||||
for (RimEnsembleCurveSet* curveSet : m_curveSets)
|
||||
{
|
||||
curveSet->loadDataAndUpdate(updateParentPlot);
|
||||
curveSet->loadDataAndUpdate(false);
|
||||
}
|
||||
|
||||
if (updateParentPlot)
|
||||
{
|
||||
RimSummaryPlot* parentPlot;
|
||||
firstAncestorOrThisOfTypeAsserted(parentPlot);
|
||||
if (parentPlot->qwtPlot())
|
||||
{
|
||||
parentPlot->updatePlotTitle();
|
||||
parentPlot->qwtPlot()->updateLegend();
|
||||
parentPlot->updateAxes();
|
||||
parentPlot->updateZoomInQwt();
|
||||
}
|
||||
parentPlot->updateAll();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user