mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#468) Renamed method
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -44,5 +44,5 @@ protected:
|
||||
|
||||
private:
|
||||
RimWellLogPlotTrack* selectedWellLogPlotTrack();
|
||||
RimWellPath* selectedWellLogPlotTrackWithLogFile();
|
||||
RimWellPath* selectedWellPathWithLogFile();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user