Ui update

This commit is contained in:
jonjenssen 2023-03-11 01:30:34 +01:00 committed by jonjenssen
parent 3772fbac79
commit 087968e7f7

View File

@ -137,7 +137,8 @@ void RimEnsembleStatistics::defineUiOrdering( QString uiConfigName, caf::PdmUiOr
auto curveSet = m_parentCurveSet;
uiOrdering.add( &m_active );
if ( isActive() ) uiOrdering.add( &m_showStatisticsCurveLegends );
m_showStatisticsCurveLegends.uiCapability()->setUiReadOnly( !m_active );
uiOrdering.add( &m_showStatisticsCurveLegends );
uiOrdering.add( &m_hideEnsembleCurves );
uiOrdering.add( &m_basedOnFilteredCases );
uiOrdering.add( &m_includeIncompleteCurves );