#1837 Ensure flow diagnostics are calculated when changing cell result phases

This commit is contained in:
Bjørnar Grip Fjær 2017-08-29 15:21:07 +02:00
parent e66383be35
commit d50e40854a

View File

@ -244,6 +244,7 @@ void RimEclipseResultDefinition::fieldChangedByUi(const caf::PdmFieldHandle* cha
{
if (m_phaseSelection() != RigFlowDiagResultAddress::PHASE_ALL)
{
m_resultType = m_resultTypeUiField;
m_resultVariable = RIG_FLD_TOF_RESNAME;
m_resultVariableUiField = RIG_FLD_TOF_RESNAME;
}