mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#2838 Ensemble Curve Name : Hide Qwt legend if result legend is used
This commit is contained in:
@@ -328,6 +328,14 @@ RimSummaryCaseCollection* RimEnsembleCurveSet::summaryCaseCollection() const
|
||||
return m_yValuesSummaryGroup();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
RimEnsembleCurveSet::ColorMode RimEnsembleCurveSet::colorMode() const
|
||||
{
|
||||
return m_colorMode();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -642,6 +650,11 @@ void RimEnsembleCurveSet::updateCurveColors()
|
||||
}
|
||||
plot->qwtPlot()->replot();
|
||||
}
|
||||
|
||||
if (firstCurve())
|
||||
{
|
||||
firstCurve()->updateLegendEntryVisibilityAndPlotLegend();
|
||||
}
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user