Osdu Well Log: Save well log channels and names to xml.

This commit is contained in:
Kristian Bendiksen
2024-07-10 19:51:55 +02:00
parent 36e014d54d
commit 9316715063
2 changed files with 12 additions and 0 deletions

View File

@@ -49,6 +49,11 @@ RimOsduWellLogChannel::RimOsduWellLogChannel()
CAF_PDM_InitFieldNoDefault( &m_depthUnit, "DepthUnit", "Depth Unit" );
m_depthUnit.uiCapability()->setUiReadOnly( true );
// Need to save the name for Osdu well log channels.
// This reverts settings from RimWellLogChannel constructor.
nameField()->xmlCapability()->setIOReadable( true );
nameField()->xmlCapability()->setIOWritable( true );
}
//--------------------------------------------------------------------------------------------------