From a2bbdd9d2332ddecbddf3bec1db7835b3e5a0345 Mon Sep 17 00:00:00 2001 From: jonjenssen Date: Tue, 24 Sep 2024 19:16:40 +0200 Subject: [PATCH] Re-enable flag --- ApplicationLibCode/Application/RiaPreferencesGrid.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/ApplicationLibCode/Application/RiaPreferencesGrid.cpp b/ApplicationLibCode/Application/RiaPreferencesGrid.cpp index 9bf0e8b270..a075cc8bfb 100644 --- a/ApplicationLibCode/Application/RiaPreferencesGrid.cpp +++ b/ApplicationLibCode/Application/RiaPreferencesGrid.cpp @@ -137,9 +137,8 @@ void RiaPreferencesGrid::appendItems( caf::PdmUiOrdering& uiOrdering ) auto resdataGrp = uiOrdering.addNewGroup( "ResData Reader Settings" ); resdataGrp->add( &m_useResultIndexFile ); - // TODO: Disabled for the 2024.09 release, enable after release - // auto opmcGrp = uiOrdering.addNewGroup( "OPM Common Reader Settings" ); - // opmcGrp->add( &m_onlyLoadActiveCells ); + auto opmcGrp = uiOrdering.addNewGroup( "OPM Common Reader Settings" ); + opmcGrp->add( &m_onlyLoadActiveCells ); const bool setFaultImportSettingsReadOnly = !importFaults(); @@ -264,8 +263,7 @@ bool RiaPreferencesGrid::autoComputeDepthRelatedProperties() const //-------------------------------------------------------------------------------------------------- bool RiaPreferencesGrid::onlyLoadActiveCells() const { - return false; - // return m_onlyLoadActiveCells; + return m_onlyLoadActiveCells; } //--------------------------------------------------------------------------------------------------