#1998 RFT plot. Handle old project files regarding well path and well log files

This commit is contained in:
Bjørn Erik Jensen
2017-10-20 10:17:30 +02:00
parent c3ee28de5f
commit 92f30742ec
4 changed files with 27 additions and 0 deletions

View File

@@ -329,6 +329,17 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
return options;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimWellLogFileCurve::initAfterRead()
{
if (m_wellPath->wellLogFiles().size() == 1)
{
m_wellLogFile = m_wellPath->wellLogFiles().front();
}
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------