mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#8993 Default Ensemble Curve : Do not show statistics for history vectors
This commit is contained in:
parent
9f4d242a5d
commit
6a7e2f6033
@ -387,6 +387,8 @@ void RimEnsembleCurveSet::setSummaryAddress( RifEclipseSummaryAddress address )
|
||||
RimSummaryAddress* summaryAddress = new RimSummaryAddress();
|
||||
summaryAddress->setAddress( address );
|
||||
m_objectiveValuesSummaryAddresses.push_back( summaryAddress );
|
||||
|
||||
m_statistics->setShowStatisticsCurves( !address.isHistoryVector() );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -61,6 +61,14 @@ bool RimEnsembleStatistics::isActive() const
|
||||
return m_active;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEnsembleStatistics::setShowStatisticsCurves( bool show )
|
||||
{
|
||||
m_active = show;
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
@ -35,6 +35,7 @@ public:
|
||||
RimEnsembleStatistics( RimEnsembleCurveSetInterface* parentCurveSet = nullptr );
|
||||
|
||||
bool isActive() const;
|
||||
void setShowStatisticsCurves( bool show );
|
||||
bool hideEnsembleCurves() const { return m_hideEnsembleCurves; }
|
||||
bool basedOnFilteredCases() const { return m_basedOnFilteredCases; }
|
||||
bool showP10Curve() const { return m_showP10Curve; }
|
||||
|
Loading…
Reference in New Issue
Block a user