Prevent update of show statistics selection in source stepping

- Refactor code into two functions
- Do not update selection when performing source stepping
This commit is contained in:
Jørgen Herje
2023-02-21 12:56:35 +01:00
committed by Magne Sjaastad
parent 88ebf857ff
commit 0601de4c18
10 changed files with 17 additions and 8 deletions

View File

@@ -2513,7 +2513,7 @@ RimEnsembleCurveSet* RimSummaryPlot::addNewEnsembleCurveY( const RifEclipseSumma
auto* curveSet = new RimEnsembleCurveSet();
curveSet->setSummaryCaseCollection( ensemble );
curveSet->setSummaryAddress( address );
curveSet->setSummaryAddressAndStatisticsFlag( address );
cvf::Color3f curveColor =
RimSummaryCurveAppearanceCalculator::computeTintedCurveColorForAddress( curveSet->summaryAddress(),