mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-24 14:17:52 -05:00
#5213 Update biot type if currently selected biot file is removed.
This commit is contained in:
1 parent
ecf61f9854
commit
f30d16077b
1 file changed
+6
@@ -894,6 +894,12 @@ void RimGeoMechCase::closeSelectedElementPropertyFiles()
|
|||||||
view->cellResult()->setResultAddress( RigFemResultAddress() );
|
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() )
|
for ( RimGeoMechPropertyFilter* propertyFilter : view->geoMechPropertyFilterCollection()->propertyFilters() )
|
||||||
{
|
{
|
||||||
if ( address == propertyFilter->resultDefinition->resultAddress() )
|
if ( address == propertyFilter->resultDefinition->resultAddress() )
|
||||||
|
|||||||
Reference in new issue
Block a user