#2845 Ensemble Curve Set Legend : Update ensemble legend item text

Use special symbol for curve color by parameter
This commit is contained in:
Magne Sjaastad
2018-05-03 14:50:35 +02:00
parent c5cd8b2a4b
commit 4b6bd3d9fc
4 changed files with 88 additions and 39 deletions

View File

@@ -506,10 +506,10 @@ void RimSummaryPlot::updatePlotTitle()
if (m_useAutoPlotTitle)
{
m_userDefinedPlotTitle = generatePlotTitle(m_nameHelper.get());
updateCurveNames();
}
updateCurveNames();
updateMdiWindowTitle();
}
@@ -1519,12 +1519,7 @@ void RimSummaryPlot::updateCurveNames()
for (auto curveSet : m_ensembleCurveSetCollection->curveSets())
{
if (curveSet->isCurvesVisible() && curveSet->firstCurve())
{
// Only the first curve in the set is used in the legend,
// skip update of other curves
curveSet->firstCurve()->updateCurveNameNoLegendUpdate();
}
curveSet->updateEnsembleLegendItem();
}
}