mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-24 15:26:48 -06:00
#2811 Ensemble curve set. Set initial ensemble
This commit is contained in:
parent
145b85cc1b
commit
fb384e596d
@ -346,7 +346,6 @@ void RimEnsembleCurveSet::defineUiOrdering(QString uiConfigName, caf::PdmUiOrder
|
||||
curveVarSelectionGroup->setCollapsedByDefault(true);
|
||||
m_yValuesSummaryFilter->uiOrdering(uiConfigName, *curveVarSelectionGroup);
|
||||
curveVarSelectionGroup->add(&m_yValuesUiFilterResultSelection);
|
||||
|
||||
}
|
||||
|
||||
caf::PdmUiGroup* colorsGroup = uiOrdering.addNewGroup("Colors");
|
||||
@ -362,6 +361,14 @@ void RimEnsembleCurveSet::defineUiOrdering(QString uiConfigName, caf::PdmUiOrder
|
||||
m_ensembleParameter.uiCapability()->setUiReadOnly(!m_yValuesSummaryGroup());
|
||||
colorsGroup->add(&m_ensembleParameter);
|
||||
}
|
||||
|
||||
// Set default initial ensemble
|
||||
RimProject* project = RiaApplication::instance()->project();
|
||||
if (m_yValuesSummaryGroup() == nullptr && project->summaryGroups().size() == 1)
|
||||
{
|
||||
m_yValuesSummaryGroup = project->summaryGroups().front();
|
||||
}
|
||||
|
||||
uiOrdering.skipRemainingFields(true);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user