mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
(#455) Improved use of Custom Curve Name
This commit is contained in:
@@ -127,7 +127,6 @@ void RimWellLogFileCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedFie
|
||||
|
||||
if (changedField == &m_wellPath)
|
||||
{
|
||||
this->updatePlotTitle();
|
||||
this->updatePlotData();
|
||||
|
||||
if (wellLoglot)
|
||||
@@ -143,7 +142,6 @@ void RimWellLogFileCurve::fieldChangedByUi(const caf::PdmFieldHandle* changedFie
|
||||
}
|
||||
else if (changedField == &m_wellLogChannnelName)
|
||||
{
|
||||
this->updatePlotTitle();
|
||||
this->updatePlotData();
|
||||
|
||||
if (wellLoglot)
|
||||
@@ -240,6 +238,17 @@ QList<caf::PdmOptionItemInfo> RimWellLogFileCurve::calculateValueOptions(const c
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
QString RimWellLogFileCurve::createCurveName()
|
||||
{
|
||||
return "The method or operation is not implemented.";
|
||||
if (m_wellPath())
|
||||
{
|
||||
QString txt;
|
||||
|
||||
txt += m_wellPath()->name();
|
||||
txt += " : ";
|
||||
txt += m_wellLogChannnelName;
|
||||
|
||||
return txt;
|
||||
}
|
||||
|
||||
return "Empty curve";
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user