(#468) Renamed method

This commit is contained in:
Pål Hagen
2015-09-21 14:10:04 +02:00
parent 8667b6baa0
commit 903b692e8e
2 changed files with 4 additions and 4 deletions

View File

@@ -44,7 +44,7 @@ CAF_CMD_SOURCE_INIT(RicNewWellLogFileCurveFeature, "RicNewWellLogFileCurveFeatur
//--------------------------------------------------------------------------------------------------
bool RicNewWellLogFileCurveFeature::isCommandEnabled()
{
return selectedWellLogPlotTrack() != NULL || selectedWellLogPlotTrackWithLogFile() != NULL;
return selectedWellLogPlotTrack() != NULL || selectedWellPathWithLogFile() != NULL;
}
//--------------------------------------------------------------------------------------------------
@@ -59,7 +59,7 @@ void RicNewWellLogFileCurveFeature::onActionTriggered(bool isChecked)
}
else
{
RimWellPath* wellPath = selectedWellLogPlotTrackWithLogFile();
RimWellPath* wellPath = selectedWellPathWithLogFile();
if (wellPath)
{
RimWellLogPlotTrack* wellLogPlotTrack = RicNewWellLogPlotFeatureImpl::createWellLogPlotTrack();
@@ -91,7 +91,7 @@ RimWellLogPlotTrack* RicNewWellLogFileCurveFeature::selectedWellLogPlotTrack()
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
RimWellPath* RicNewWellLogFileCurveFeature::selectedWellLogPlotTrackWithLogFile()
RimWellPath* RicNewWellLogFileCurveFeature::selectedWellPathWithLogFile()
{
std::vector<RimWellPath*> selection;
caf::SelectionManager::instance()->objectsByType(&selection);

View File

@@ -44,5 +44,5 @@ protected:
private:
RimWellLogPlotTrack* selectedWellLogPlotTrack();
RimWellPath* selectedWellLogPlotTrackWithLogFile();
RimWellPath* selectedWellPathWithLogFile();
};