mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-27 15:41:00 -05:00
#14404 Guard against whitespace in AppEnum serialization text and fix affected enums
This commit is contained in:
1 parent
c91e5fa9a7
commit
4c39ce3e6c
8 files changed
+42
-20
No files matched your search
@@ -33,7 +33,9 @@ namespace caf
|
||||
template <>
|
||||
void RimEquilibriumAxisAnnotation::ExportKeywordEnum::setUp()
|
||||
{
|
||||
addItem( RimEquilibriumAxisAnnotation::PlotAxisAnnotationType::PL_USER_DEFINED, "User Defined", "User Defined" );
|
||||
// The alias is the serialization text used by previous versions, as read back from XML, and maps
|
||||
// old project files to the correct enum value
|
||||
addItem( RimEquilibriumAxisAnnotation::PlotAxisAnnotationType::PL_USER_DEFINED, "USER_DEFINED", "User Defined", { "User" } );
|
||||
addItem( RimEquilibriumAxisAnnotation::PlotAxisAnnotationType::PL_EQUIL_WATER_OIL_CONTACT,
|
||||
"PL_EQUIL_WATER_OIL_CONTACT",
|
||||
"PL_EQUIL_WATER_OIL_CONTACT" );
|
||||
|
||||
Reference in new issue
Block a user