mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#11386 Summary plot: TCPU and ELAPSED are cumulative vectors
This commit is contained in:
@@ -988,6 +988,9 @@ bool RifEclipseSummaryAddress::hasAccumulatedData() const
|
||||
|
||||
QString qBaseName = QString::fromStdString( baseVectorName( quantityForInspection.toStdString() ) );
|
||||
|
||||
if ( RiaTextStringTools::isTextEqual( qBaseName, QString( "TCPU" ) ) ) return true;
|
||||
if ( RiaTextStringTools::isTextEqual( qBaseName, QString( "ELAPSED" ) ) ) return true;
|
||||
|
||||
if ( qBaseName.endsWith( "WCT" ) || qBaseName.endsWith( "WCTH" ) )
|
||||
{
|
||||
// https://github.com/OPM/ResInsight/issues/5808
|
||||
|
@@ -1269,9 +1269,9 @@ void RimSummaryCurve::fieldChangedByUi( const caf::PdmFieldHandle* changedField,
|
||||
|
||||
m_xPushButtonSelectSummaryAddress = false;
|
||||
}
|
||||
else if ( changedField == &m_yCurveTypeMode )
|
||||
else if ( changedField == &m_yCurveTypeMode || changedField == &m_yCurveType )
|
||||
{
|
||||
calculateCurveTypeFromAddress();
|
||||
calculateCurveInterpolationFromAddress();
|
||||
}
|
||||
|
||||
if ( crossPlotTestForMatchingTimeSteps )
|
||||
|
Reference in New Issue
Block a user