mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7361 Janitor : Remove obsolete fields
This commit is contained in:
@@ -185,9 +185,6 @@ RimEclipseView::RimEclipseView()
|
||||
m_propertyFilterCollection.uiCapability()->setUiHidden( true );
|
||||
|
||||
// Visualization fields
|
||||
CAF_PDM_InitField( &m_showMainGrid_OBSOLETE, "ShowMainGrid", true, "Show Main Grid", "", "", "" );
|
||||
RiaFieldhandleTools::disableWriteAndSetFieldHidden( &m_showMainGrid_OBSOLETE );
|
||||
|
||||
CAF_PDM_InitField( &m_showInactiveCells, "ShowInactiveCells", false, "Show Inactive Cells", "", "", "" );
|
||||
CAF_PDM_InitField( &m_showInvalidCells, "ShowInvalidCells", false, "Show Invalid Cells", "", "", "" );
|
||||
|
||||
@@ -1087,11 +1084,6 @@ void RimEclipseView::initAfterRead()
|
||||
this->cellResult()->setReservoirView( this );
|
||||
this->cellEdgeResult()->setReservoirView( this );
|
||||
|
||||
if ( !m_showMainGrid_OBSOLETE() )
|
||||
{
|
||||
gridCollection()->setMainGridActive( false );
|
||||
}
|
||||
|
||||
this->updateUiIconFromToggleField();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user