mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Made RimNamedObject more robust and made name field private
This commit is contained in:
@@ -56,6 +56,14 @@ void RimNamedObject::setName(const QString& name)
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimNamedObject::userDescriptionField()
|
||||
{
|
||||
return name();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
caf::PdmFieldHandle* RimNamedObject::name()
|
||||
{
|
||||
return &m_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user