mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4600 Dual porosity: Apply matrix/fracture change immediately
This commit is contained in:
parent
d86a53f732
commit
fee9a2de19
@ -279,6 +279,13 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
if (&m_porosityModelUiField == changedField)
|
||||
{
|
||||
m_porosityModel = m_porosityModelUiField;
|
||||
m_resultVariableUiField = resultVariable();
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
if (&m_differenceCase == changedField)
|
||||
{
|
||||
m_timeLapseBaseTimestep = RigEclipseResultAddress::noTimeLapseValue();
|
||||
|
@ -164,7 +164,10 @@ protected:
|
||||
// User interface only fields, to support "filtering"-like behaviour etc.
|
||||
|
||||
caf::PdmField< caf::AppEnum< RiaDefines::ResultCatType > > m_resultTypeUiField;
|
||||
|
||||
// TODO: Remove Ui field, as behavior is similar to time difference fields
|
||||
caf::PdmField< caf::AppEnum< RiaDefines::PorosityModelType > > m_porosityModelUiField;
|
||||
|
||||
caf::PdmField<QString> m_resultVariableUiField;
|
||||
|
||||
caf::PdmField< caf::AppEnum< FlowTracerSelectionType > > m_flowTracerSelectionMode;
|
||||
|
Loading…
Reference in New Issue
Block a user