Reveal Thermal Fracture Template: add missing update when changing filter cake mode.

This commit is contained in:
Kristian Bendiksen 2023-11-08 11:17:57 +01:00
parent 18c29d5fc7
commit 645c8c29b3
2 changed files with 15 additions and 0 deletions

View File

@ -35,6 +35,7 @@
#include "RimEclipseView.h" #include "RimEclipseView.h"
#include "RimFracture.h" #include "RimFracture.h"
#include "RimProject.h"
#include "RimStimPlanColors.h" #include "RimStimPlanColors.h"
#include "RimWellPath.h" #include "RimWellPath.h"
#include "RimWellPathFracture.h" #include "RimWellPathFracture.h"
@ -151,6 +152,19 @@ bool RimThermalFractureTemplate::setBorderPolygonResultNameToDefault()
return false; return false;
} }
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimThermalFractureTemplate::fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue )
{
RimMeshFractureTemplate::fieldChangedByUi( changedField, oldValue, newValue );
if ( &m_filterCakePressureDropType == changedField )
{
onLoadDataAndUpdateGeometryHasChanged();
}
}
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------
/// ///
//-------------------------------------------------------------------------------------------------- //--------------------------------------------------------------------------------------------------

View File

@ -115,6 +115,7 @@ public:
protected: protected:
void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override; void defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering ) override;
void fieldChangedByUi( const caf::PdmFieldHandle* changedField, const QVariant& oldValue, const QVariant& newValue ) override;
QString getFileSelectionFilter() const override; QString getFileSelectionFilter() const override;
QStringList conductivityResultNames() const override; QStringList conductivityResultNames() const override;