mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5281 Summary Plot: Ensemble curve highlight is missing in 2019.12
This commit is contained in:
@@ -418,13 +418,11 @@ caf::PdmObject* RimSummaryPlot::findPdmObjectFromQwtCurve( const QwtPlotCurve* q
|
||||
|
||||
if ( m_ensembleCurveSetCollection )
|
||||
{
|
||||
RimEnsembleCurveSet* foundCurveSet = m_ensembleCurveSetCollection->findRimCurveSetFromQwtCurve( qwtCurve );
|
||||
RimSummaryCurve* foundCurve = m_ensembleCurveSetCollection->findRimCurveFromQwtCurve( qwtCurve );
|
||||
|
||||
if ( foundCurveSet )
|
||||
if ( foundCurve )
|
||||
{
|
||||
m_ensembleCurveSetCollection->setCurrentSummaryCurveSet( foundCurveSet );
|
||||
|
||||
return foundCurveSet;
|
||||
return foundCurve;
|
||||
}
|
||||
}
|
||||
return nullptr;
|
||||
|
||||
Reference in New Issue
Block a user