mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4050 3D calculations : UI for case difference
Show case diff for static and generated
This commit is contained in:
@@ -1208,11 +1208,17 @@ void RimEclipseResultDefinition::defineUiOrdering(QString uiConfigName, caf::Pdm
|
||||
uiOrdering.add(&m_resultVariableUiField);
|
||||
}
|
||||
|
||||
if (m_resultTypeUiField() == RiaDefines::DYNAMIC_NATIVE)
|
||||
if (m_resultTypeUiField() == RiaDefines::DYNAMIC_NATIVE || m_resultTypeUiField() == RiaDefines::STATIC_NATIVE ||
|
||||
m_resultTypeUiField() == RiaDefines::GENERATED)
|
||||
{
|
||||
caf::PdmUiGroup* timeLapseGr = uiOrdering.addNewGroup("Time Difference Options");
|
||||
timeLapseGr->add(&m_timeLapseBaseTimestepUiField);
|
||||
timeLapseGr->add(&m_differenceCaseUiField);
|
||||
caf::PdmUiGroup* differenceGroup = uiOrdering.addNewGroup("Difference Options");
|
||||
|
||||
if (m_resultTypeUiField() == RiaDefines::DYNAMIC_NATIVE)
|
||||
{
|
||||
differenceGroup->add(&m_timeLapseBaseTimestepUiField);
|
||||
}
|
||||
|
||||
differenceGroup->add(&m_differenceCaseUiField);
|
||||
}
|
||||
|
||||
uiOrdering.skipRemainingFields(true);
|
||||
|
||||
Reference in New Issue
Block a user