#2918 Summary Plot Title : Make sure title and curve names are stable when deselecting ensemble curve

This commit is contained in:
Magne Sjaastad
2018-05-15 13:58:39 +02:00
parent ea50722cdd
commit 3effc4ca66
4 changed files with 3 additions and 28 deletions

View File

@@ -596,7 +596,7 @@ void RimPlotCurve::updateLegendEntryVisibilityNoPlotUpdate()
{
bool showLegendInQwt = m_showLegend();
if (summaryPlot->ensembleCurveSetCollection()->visibleCurveSets().empty() && summaryPlot->curveCount() == 1)
if (summaryPlot->ensembleCurveSetCollection()->curveSets().empty() && summaryPlot->curveCount() == 1)
{
// Disable display of legend if the summary plot has only one single curve
showLegendInQwt = false;