mirror of
https://github.com/OPM/ResInsight.git
synced 2025-01-10 08:03:05 -06:00
WellLogFileCurve. Rename method
This commit is contained in:
parent
3cd9333fd5
commit
0cb64ef982
@ -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);
|
||||
|
@ -64,7 +64,7 @@ protected:
|
||||
virtual QList<caf::PdmOptionItemInfo> calculateValueOptions(const caf::PdmFieldHandle* fieldNeedingOptions, bool * useOptionsOnly);
|
||||
virtual void initAfterRead() override;
|
||||
|
||||
bool isInRftPlot() const;
|
||||
bool isRftPlotChild() const;
|
||||
|
||||
protected:
|
||||
caf::PdmPtrField<RimWellPath*> m_wellPath;
|
||||
|
Loading…
Reference in New Issue
Block a user