mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
WellLogFileCurve. Rename method
This commit is contained in:
@@ -316,11 +316,11 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
|
||||
|
||||
if (m_wellPath() && m_wellPath->wellLogFiles().size() > 0)
|
||||
{
|
||||
bool isRft = isInRftPlot();
|
||||
bool isRftChild = isRftPlotChild();
|
||||
|
||||
for (RimWellLogFile* const wellLogFile : m_wellPath->wellLogFiles())
|
||||
{
|
||||
if (!isRft || RimWellRftPlot::hasPressureData(wellLogFile))
|
||||
if (!isRftChild || RimWellRftPlot::hasPressureData(wellLogFile))
|
||||
{
|
||||
QFileInfo fileInfo(wellLogFile->fileName());
|
||||
options.push_back(caf::PdmOptionItemInfo(fileInfo.baseName(), wellLogFile));
|
||||
@@ -346,7 +346,7 @@ void RimWellLogFileCurve::initAfterRead()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
bool RimWellLogFileCurve::isInRftPlot() const
|
||||
bool RimWellLogFileCurve::isRftPlotChild() const
|
||||
{
|
||||
RimWellRftPlot* rftPlot;
|
||||
firstAncestorOrThisOfType(rftPlot);
|
||||
|
||||
Reference in New Issue
Block a user