mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2760 Ensemble Curves: Show one curve legend
This commit is contained in:
@@ -111,17 +111,18 @@ void RimEnsembleCurveSetCollection::loadDataAndUpdate(bool updateParentPlot)
|
||||
// curve->updateQwtPlotAxis();
|
||||
//}
|
||||
|
||||
//if ( updateParentPlot )
|
||||
//{
|
||||
// RimSummaryPlot* parentPlot;
|
||||
// firstAncestorOrThisOfTypeAsserted(parentPlot);
|
||||
// if ( parentPlot->qwtPlot() )
|
||||
// {
|
||||
// parentPlot->qwtPlot()->updateLegend();
|
||||
// parentPlot->updateAxes();
|
||||
// parentPlot->updateZoomInQwt();
|
||||
// }
|
||||
//}
|
||||
if ( updateParentPlot )
|
||||
{
|
||||
RimSummaryPlot* parentPlot;
|
||||
firstAncestorOrThisOfTypeAsserted(parentPlot);
|
||||
if ( parentPlot->qwtPlot() )
|
||||
{
|
||||
parentPlot->updatePlotTitle();
|
||||
parentPlot->qwtPlot()->updateLegend();
|
||||
parentPlot->updateAxes();
|
||||
parentPlot->updateZoomInQwt();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user