diff --git a/ApplicationCode/ProjectDataModel/RimWellLogFileCurve.cpp b/ApplicationCode/ProjectDataModel/RimWellLogFileCurve.cpp index 65840036d2..56190a5d9c 100644 --- a/ApplicationCode/ProjectDataModel/RimWellLogFileCurve.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellLogFileCurve.cpp @@ -90,7 +90,10 @@ void RimWellLogFileCurve::updatePlotData() m_plotCurve->setSamples(NULL, NULL, 0); } - m_plotCurve->setTitle(createCurveName()); + if (m_autoName) + { + m_plotCurve->setTitle(createCurveName()); + } } } else @@ -234,7 +237,7 @@ QString RimWellLogFileCurve::createCurveName() QString unitName = wellLogFile->wellLogChannelUnit(m_wellLogChannnelName); if (!unitName.isEmpty()) { - txt += QString(" [%1]").arg(wellLogFile->wellLogChannelUnit(m_wellLogChannnelName)); + txt += QString(" [%1]").arg(unitName); } }