mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#6033 Surface Properties : Change name to Surface Result
This commit is contained in:
@@ -105,8 +105,9 @@ void RimSurfaceInView::setSurface( RimSurface* surf )
|
||||
m_resultDefinition->setCheckState( true );
|
||||
|
||||
m_resultDefinition->assignDefaultProperty();
|
||||
m_resultDefinition->updateMinMaxValues();
|
||||
}
|
||||
|
||||
m_resultDefinition->updateMinMaxValues();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -160,6 +161,17 @@ void RimSurfaceInView::loadDataAndUpdate()
|
||||
{
|
||||
surface()->loadDataIfRequired();
|
||||
|
||||
if ( surface()->surfaceData() && surface()->surfaceData()->propertyNames().empty() )
|
||||
{
|
||||
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( true );
|
||||
m_resultDefinition->setCheckState( false );
|
||||
}
|
||||
else
|
||||
{
|
||||
m_resultDefinition.uiCapability()->setUiTreeChildrenHidden( false );
|
||||
m_resultDefinition->setCheckState( true );
|
||||
}
|
||||
|
||||
m_resultDefinition->updateMinMaxValues();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user