mirror of
https://github.com/OPM/ResInsight.git
synced 2024-12-28 01:41:42 -06:00
#11966 Fix visibility control of curve legends
This commit is contained in:
parent
586aefe0b6
commit
39d19c9826
@ -1433,7 +1433,7 @@ void RimSummaryCurve::updateTimeAnnotations()
|
||||
void RimSummaryCurve::updateLegendEntryVisibilityNoPlotUpdate()
|
||||
{
|
||||
if ( !m_plotCurve ) return;
|
||||
if ( !firstAncestorOrThisOfType<RimEnsembleCurveSet>() ) return;
|
||||
if ( firstAncestorOrThisOfType<RimEnsembleCurveSet>() ) return;
|
||||
|
||||
bool showLegendInPlot = m_showLegend();
|
||||
if ( auto summaryPlot = firstAncestorOrThisOfType<RimSummaryPlot>() )
|
||||
|
Loading…
Reference in New Issue
Block a user