#5213 Update biot type if currently selected biot file is removed.

This commit is contained in:
Kristian Bendiksen committed 2020-04-14 06:32:00 +02:00
1 parent ecf61f9854
commit f30d16077b
1 file changed
+6
@@ -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() )