mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-26 15:10:22 -05:00
Add preference setting to select which dynamic result to show as default (if available)
This commit is contained in:
1 parent
d83a492b14
commit
5293dbe015
13 files changed
+109
-38
No files matched your search
@@ -1040,7 +1040,7 @@ void RimEclipseStatisticsCase::populateResultSelection()
|
||||
QStringList varList =
|
||||
caseData->results( RiaDefines::PorosityModelType::MATRIX_MODEL )->resultNames( RiaDefines::ResultCatType::DYNAMIC_NATIVE );
|
||||
if ( varList.contains( RiaResultNames::soil() ) ) m_selectedDynamicProperties.v().push_back( RiaResultNames::soil() );
|
||||
if ( varList.contains( "PRESSURE" ) ) m_selectedDynamicProperties.v().push_back( "PRESSURE" );
|
||||
if ( varList.contains( RiaResultNames::pressure() ) ) m_selectedDynamicProperties.v().push_back( RiaResultNames::pressure() );
|
||||
}
|
||||
|
||||
if ( m_selectedStaticProperties().empty() )
|
||||
@@ -1056,7 +1056,8 @@ void RimEclipseStatisticsCase::populateResultSelection()
|
||||
QStringList varList =
|
||||
caseData->results( RiaDefines::PorosityModelType::FRACTURE_MODEL )->resultNames( RiaDefines::ResultCatType::DYNAMIC_NATIVE );
|
||||
if ( varList.contains( RiaResultNames::soil() ) ) m_selectedFractureDynamicProperties.v().push_back( RiaResultNames::soil() );
|
||||
if ( varList.contains( "PRESSURE" ) ) m_selectedFractureDynamicProperties.v().push_back( "PRESSURE" );
|
||||
if ( varList.contains( RiaResultNames::pressure() ) )
|
||||
m_selectedFractureDynamicProperties.v().push_back( RiaResultNames::pressure() );
|
||||
}
|
||||
|
||||
if ( m_selectedFractureStaticProperties().empty() )
|
||||
|
||||
Reference in new issue
Block a user