diff --git a/ApplicationCode/FileInterface/RifReaderInterface.cpp b/ApplicationCode/FileInterface/RifReaderInterface.cpp index e650b6863e..5f03b22144 100644 --- a/ApplicationCode/FileInterface/RifReaderInterface.cpp +++ b/ApplicationCode/FileInterface/RifReaderInterface.cpp @@ -53,7 +53,7 @@ bool RifReaderInterface::isNNCsEnabled() //-------------------------------------------------------------------------------------------------- const QString RifReaderInterface::faultIncludeFileAbsolutePathPrefix() { - return readerSettings()->faultIncludeFileAbsolutePathPrefix; + return readerSettings()->includeFileAbsolutePathPrefix; } //-------------------------------------------------------------------------------------------------- diff --git a/ApplicationCode/FileInterface/RifReaderSettings.cpp b/ApplicationCode/FileInterface/RifReaderSettings.cpp index 2178259323..87837416e7 100644 --- a/ApplicationCode/FileInterface/RifReaderSettings.cpp +++ b/ApplicationCode/FileInterface/RifReaderSettings.cpp @@ -50,7 +50,14 @@ RifReaderSettings::RifReaderSettings() CAF_PDM_InitField(&skipWellData, "skipWellData", false, "Skip Import of Simulation Well Data", "", "", ""); skipWellData.uiCapability()->setUiLabelPosition(caf::PdmUiItemInfo::HIDDEN); - CAF_PDM_InitField(&faultIncludeFileAbsolutePathPrefix, "faultIncludeFileAbsolutePathPrefix", QString(), "Fault Include File Absolute Path Prefix", "", "Path used to prefix absolute UNIX paths in fault include statements on Windows", ""); + CAF_PDM_InitField( + &includeFileAbsolutePathPrefix, + "includeFileAbsolutePathPrefix", + QString(), + "Include File Absolute Path Prefix", + "", + "Path used to prefix absolute UNIX paths in include statements on Windows, used when searching for FAULTS and EQUIL", + ""); } //-------------------------------------------------------------------------------------------------- @@ -79,7 +86,7 @@ void RifReaderSettings::defineUiOrdering(QString uiConfigName, caf::PdmUiOrderin { uiOrdering.add(&importFaults); #ifdef WIN32 - uiOrdering.add(&faultIncludeFileAbsolutePathPrefix); + uiOrdering.add(&includeFileAbsolutePathPrefix); #endif uiOrdering.add(&importNNCs); uiOrdering.add(&importAdvancedMswData); diff --git a/ApplicationCode/FileInterface/RifReaderSettings.h b/ApplicationCode/FileInterface/RifReaderSettings.h index 58af3b853d..f478cf17a9 100644 --- a/ApplicationCode/FileInterface/RifReaderSettings.h +++ b/ApplicationCode/FileInterface/RifReaderSettings.h @@ -39,7 +39,7 @@ public: caf::PdmField importFaults; caf::PdmField importNNCs; caf::PdmField importAdvancedMswData; - caf::PdmField faultIncludeFileAbsolutePathPrefix; + caf::PdmField includeFileAbsolutePathPrefix; caf::PdmField useResultIndexFile; caf::PdmField skipWellData; diff --git a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp index 27ad009261..e5b9acec89 100644 --- a/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp +++ b/ApplicationCode/ProjectDataModel/RimEclipseCase.cpp @@ -171,7 +171,7 @@ void RimEclipseCase::ensureDeckIsParsedForEquilData() RiaPreferences* prefs = RiaApplication::instance()->preferences(); if (prefs->readerSettings()) { - includeFileAbsolutePathPrefix = prefs->readerSettings()->faultIncludeFileAbsolutePathPrefix(); + includeFileAbsolutePathPrefix = prefs->readerSettings()->includeFileAbsolutePathPrefix(); } }