mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2845 Ensemble Curve Set Legend : Update ensemble legend item text
Use special symbol for curve color by parameter
This commit is contained in:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user