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:
@@ -40,8 +40,8 @@ RimPerforationCollection::RimPerforationCollection()
|
||||
{
|
||||
CAF_PDM_InitObject("Perforations", ":/PerforationIntervals16x16.png", "", "");
|
||||
|
||||
m_name.uiCapability()->setUiHidden(true);
|
||||
m_name = "Perforations";
|
||||
name()->uiCapability()->setUiHidden(true);
|
||||
this->setName("Perforations");
|
||||
|
||||
CAF_PDM_InitFieldNoDefault(&m_perforations, "Perforations", "Perforations", "", "", "");
|
||||
m_perforations.uiCapability()->setUiHidden(true);
|
||||
|
||||
Reference in New Issue
Block a user