#3338 Keep order of summary plot curves if you uncheck and check back curves.

This commit is contained in:
Gaute Lindkvist
2018-09-07 14:26:14 +02:00
parent 612409ac59
commit bd9d1be3c2
10 changed files with 92 additions and 1 deletions

View File

@@ -550,6 +550,16 @@ void RimSummaryCurve::onLoadDataAndUpdate(bool updateParentPlot)
if (updateParentPlot) updateQwtPlotAxis();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimSummaryCurve::updateLegendsInPlot()
{
RimSummaryPlot* plot = nullptr;
firstAncestorOrThisOfTypeAsserted(plot);
plot->updateAllLegendItems();
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------