diff --git a/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.cpp b/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.cpp index 8aa5d7caad..3dcc3added 100644 --- a/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.cpp +++ b/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.cpp @@ -43,7 +43,7 @@ CAF_CMD_SOURCE_INIT(RicWellPathImportPerforationIntervalsFeature, "RicWellPathIm //-------------------------------------------------------------------------------------------------- bool RicWellPathImportPerforationIntervalsFeature::isCommandEnabled() { - if (RicWellPathImportPerforationIntervalsFeature::selectedWellPath() != nullptr) + if (RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection() != nullptr) { return true; } @@ -56,7 +56,7 @@ bool RicWellPathImportPerforationIntervalsFeature::isCommandEnabled() //-------------------------------------------------------------------------------------------------- void RicWellPathImportPerforationIntervalsFeature::onActionTriggered(bool isChecked) { - RimWellPathCollection* wellPathCollection = RicWellPathImportPerforationIntervalsFeature::selectedWellPath(); + RimWellPathCollection* wellPathCollection = RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection(); CVF_ASSERT(wellPathCollection); // Open dialog box to select well path files @@ -116,7 +116,7 @@ void RicWellPathImportPerforationIntervalsFeature::setupActionLook(QAction* acti //-------------------------------------------------------------------------------------------------- /// //-------------------------------------------------------------------------------------------------- -RimWellPathCollection* RicWellPathImportPerforationIntervalsFeature::selectedWellPath() +RimWellPathCollection* RicWellPathImportPerforationIntervalsFeature::selectedWellPathCollection() { std::vector objects; caf::SelectionManager::instance()->objectsByType(&objects); diff --git a/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.h b/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.h index 5a70b43f3b..d034a764e1 100644 --- a/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.h +++ b/ApplicationCode/Commands/CompletionCommands/RicWellPathImportPerforationIntervalsFeature.h @@ -36,6 +36,6 @@ protected: virtual void setupActionLook( QAction* actionToSetup ) override; private: - static RimWellPathCollection* selectedWellPath(); + static RimWellPathCollection* selectedWellPathCollection(); };