Setter for custom name in RimPlotCurve so name can be set programatically.

This commit is contained in:
Gaute Lindkvist
2018-06-29 11:32:32 +02:00
parent 5bc59c1ee9
commit e1fa79c066
2 changed files with 10 additions and 1 deletions

View File

@@ -192,6 +192,15 @@ caf::PdmFieldHandle* RimPlotCurve::objectToggleField()
return &m_showCurve;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
void RimPlotCurve::setCustomName(const QString& customName)
{
m_isUsingAutoName = false;
m_customCurveName = customName;
}
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------