Made RimNamedObject more robust and made name field private

This commit is contained in:
Magne Sjaastad committed 2017-06-08 10:09:39 +02:00
1 parent b82bda5905
commit 9759354148
8 files changed
+23 -12

No files matched your search

@@ -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);