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:
@@ -24,7 +24,7 @@
|
||||
#include "RiaDefines.h"
|
||||
#include "RiaEclipseUnitTools.h"
|
||||
#include "RiaLogging.h"
|
||||
#include "RiaPreferences.h"
|
||||
#include "RiaPreferencesGrid.h"
|
||||
#include "RiaResultNames.h"
|
||||
|
||||
#include "RifReaderEclipseOutput.h"
|
||||
@@ -795,8 +795,8 @@ RigEclipseResultAddress RigCaseCellResultsData::defaultResult() const
|
||||
|
||||
if ( maxTimeStepCount() > 0 )
|
||||
{
|
||||
auto prefs = RiaPreferences::current();
|
||||
if ( prefs->loadAndShowSoil ) return RigEclipseResultAddress( RiaDefines::ResultCatType::DYNAMIC_NATIVE, RiaResultNames::soil() );
|
||||
auto prefs = RiaPreferencesGrid::current();
|
||||
if ( prefs->loadAndShowSoil() ) return RigEclipseResultAddress( RiaDefines::ResultCatType::DYNAMIC_NATIVE, RiaResultNames::soil() );
|
||||
|
||||
auto dynamicResult = std::find_if( allResults.begin(),
|
||||
allResults.end(),
|
||||
|
||||
Reference in New Issue
Block a user