(#430) Added name to GeoMech WellLog curves in the form of Field.Component

This commit is contained in:
Jacob Støren 2015-09-08 09:54:55 +02:00
parent 8cb579279f
commit f26fa65d98

View File

@ -303,6 +303,15 @@ void RimWellLogExtractionCurve::updateCurveTitle()
resVar = m_eclipseResultDefinition->resultVariable();
}
if (geomCase)
{
QString resCompName = m_geomResultDefinition->resultComponentUiName();
if (resCompName.isEmpty())
resVar = m_geomResultDefinition->resultFieldUiName();
else
resVar = m_geomResultDefinition->resultFieldUiName() + "." + resCompName ;
}
m_userName = resVar;
m_plotCurve->setTitle(m_userName);