Avoid saving standard color legends.

This commit is contained in:
Kristian Bendiksen 2020-05-22 13:55:48 +02:00 committed by Magne Sjaastad
parent d768ec88a9
commit 0ed99c09fa

View File

@ -39,6 +39,7 @@ RimColorLegendCollection::RimColorLegendCollection()
":/Legend.png",
"",
"" );
m_standardColorLegends.xmlCapability()->disableIO();
CAF_PDM_InitFieldNoDefault( &m_customColorLegends, "CustomColorLegends", "Custom Color Legends", ":/Legend.png", "", "" );
}