mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
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:
committed by
Magne Sjaastad
parent
88ebf857ff
commit
0601de4c18
@@ -388,8 +388,16 @@ void RimEnsembleCurveSet::setSummaryAddress( RifEclipseSummaryAddress address )
|
||||
RimSummaryAddress* summaryAddress = new RimSummaryAddress();
|
||||
summaryAddress->setAddress( address );
|
||||
m_objectiveValuesSummaryAddresses.push_back( summaryAddress );
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimEnsembleCurveSet::setSummaryAddressAndStatisticsFlag( RifEclipseSummaryAddress address )
|
||||
{
|
||||
setSummaryAddress( address );
|
||||
m_statistics->setShowStatisticsCurves( !address.isHistoryVector() );
|
||||
m_statistics->updateAllRequiredEditors();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user