mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
#5213 Update biot type if currently selected biot file is removed.
This commit is contained in:
parent
ecf61f9854
commit
f30d16077b
@ -894,6 +894,12 @@ void RimGeoMechCase::closeSelectedElementPropertyFiles()
|
||||
view->cellResult()->setResultAddress( RigFemResultAddress() );
|
||||
}
|
||||
|
||||
if ( address.fieldName == biotResultAddress().toStdString() )
|
||||
{
|
||||
// If the used biot value is being removed we need to change the biot type back to default
|
||||
m_biotCoefficientType = RimGeoMechCase::BIOT_NONE;
|
||||
}
|
||||
|
||||
for ( RimGeoMechPropertyFilter* propertyFilter : view->geoMechPropertyFilterCollection()->propertyFilters() )
|
||||
{
|
||||
if ( address == propertyFilter->resultDefinition->resultAddress() )
|
||||
|
Loading…
Reference in New Issue
Block a user