mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Grid preferences update (#11547)
* Refactor RifReaderSettings and grid preferences tab
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesGrid.h"
|
||||
|
||||
#include "RifInputPropertyLoader.h"
|
||||
#include "RifRoffFileTools.h"
|
||||
@@ -94,7 +94,7 @@ bool RimRoffCase::openEclipseGridFile()
|
||||
|
||||
results( RiaDefines::PorosityModelType::MATRIX_MODEL )->createPlaceholderResultEntries();
|
||||
|
||||
if ( RiaPreferences::current()->autocomputeDepthRelatedProperties )
|
||||
if ( RiaPreferencesGrid::current()->autoComputeDepthRelatedProperties() )
|
||||
{
|
||||
results( RiaDefines::PorosityModelType::MATRIX_MODEL )->computeDepthRelatedResults();
|
||||
results( RiaDefines::PorosityModelType::FRACTURE_MODEL )->computeDepthRelatedResults();
|
||||
|
||||
Reference in New Issue
Block a user