mirror of
https://github.com/OPM/ResInsight.git
synced 2026-11-13 01:26:19 -06:00
(#548) Adding only well paths with LAS files to property editor for curves
This commit is contained in:
1 parent
63467b0960
commit
803cc4328d
1 file changed
+4
-1
@@ -181,7 +181,10 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
|
||||
|
||||
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)
|
||||
|
||||
Reference in new issue
Block a user