mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#548) Adding only well paths with LAS files to property editor for curves
This commit is contained in:
@@ -181,7 +181,10 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
|
|||||||
|
|
||||||
for (size_t i = 0; i < wellPaths.size(); i++)
|
for (size_t i = 0; i < wellPaths.size(); i++)
|
||||||
{
|
{
|
||||||
optionList.push_back(caf::PdmOptionItemInfo(wellPaths[i]->name(), QVariant::fromValue(caf::PdmPointer<caf::PdmObjectHandle>(wellPaths[i]))));
|
if (wellPaths[i]->m_wellLogFile())
|
||||||
|
{
|
||||||
|
optionList.push_back(caf::PdmOptionItemInfo(wellPaths[i]->name(), QVariant::fromValue(caf::PdmPointer<caf::PdmObjectHandle>(wellPaths[i]))));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (optionList.size() > 0)
|
if (optionList.size() > 0)
|
||||||
|
|||||||
Reference in New Issue
Block a user