mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#1798 Switch to TOF result variable when changing phase to anything other than "All"
This commit is contained in:
parent
f009a63efd
commit
7ff1b8e128
@ -242,6 +242,11 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
|
||||
|
||||
if (&m_phaseSelection == changedField)
|
||||
{
|
||||
if (m_phaseSelection() != RigFlowDiagResultAddress::PHASE_ALL)
|
||||
{
|
||||
m_resultVariable = RIG_FLD_TOF_RESNAME;
|
||||
m_resultVariableUiField = RIG_FLD_TOF_RESNAME;
|
||||
}
|
||||
loadDataAndUpdate();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user