diff --git a/ApplicationCode/ProjectDataModel/RimModeledWellPath.cpp b/ApplicationCode/ProjectDataModel/RimModeledWellPath.cpp index 37fc4aba9a..b8fe03ebb3 100644 --- a/ApplicationCode/ProjectDataModel/RimModeledWellPath.cpp +++ b/ApplicationCode/ProjectDataModel/RimModeledWellPath.cpp @@ -45,8 +45,10 @@ RimModeledWellPath::RimModeledWellPath() CAF_PDM_InitFieldNoDefault(&m_geometryDefinition, "WellPathGeometryDef", "Trajectory", "", "", ""); m_geometryDefinition = new RimWellPathGeometryDef; + // Required, as these settings are set in RimWellPath() m_name.uiCapability()->setUiReadOnly(false); - m_name.xmlCapability()->disableIO(); + m_name.xmlCapability()->setIOReadable(true); + m_name.xmlCapability()->setIOWritable(true); } //--------------------------------------------------------------------------------------------------