From b8c9989d0b309b1bd1ec42055f3d6785f53386f2 Mon Sep 17 00:00:00 2001 From: Rebecca Cox Date: Mon, 12 Feb 2018 09:40:10 +0100 Subject: [PATCH] #2458 Cell Result: Select chosen result type on load --- ApplicationCode/ProjectDataModel/RimGeoMechCellColors.cpp | 1 + ApplicationCode/ProjectDataModel/RimGeoMechCellColors.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.cpp b/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.cpp index 6798c2e7ef..7b7c81a1b6 100644 --- a/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.cpp +++ b/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.cpp @@ -76,6 +76,7 @@ void RimGeoMechCellColors::updateIconState() //-------------------------------------------------------------------------------------------------- void RimGeoMechCellColors::initAfterRead() { + RimGeoMechResultDefinition::initAfterRead(); updateIconState(); } diff --git a/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.h b/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.h index 24e7a0fa22..c3da0cb14c 100644 --- a/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.h +++ b/ApplicationCode/ProjectDataModel/RimGeoMechCellColors.h @@ -42,7 +42,7 @@ public: caf::PdmChildField legendConfig; void updateIconState(); - virtual void initAfterRead(); + virtual void initAfterRead() override; protected: void updateLegendCategorySettings() override;