From 134d7930316b13e49939e163b201f6d11e5f06c8 Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Wed, 28 Feb 2024 11:23:10 +0100 Subject: [PATCH] WBS Plot: Fix disappearing curve names for disabled curves. --- .../WellLogCommands/RicNewWellBoreStabilityPlotFeature.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ApplicationLibCode/Commands/WellLogCommands/RicNewWellBoreStabilityPlotFeature.cpp b/ApplicationLibCode/Commands/WellLogCommands/RicNewWellBoreStabilityPlotFeature.cpp index f51976efa8..25bb643b7c 100644 --- a/ApplicationLibCode/Commands/WellLogCommands/RicNewWellBoreStabilityPlotFeature.cpp +++ b/ApplicationLibCode/Commands/WellLogCommands/RicNewWellBoreStabilityPlotFeature.cpp @@ -286,6 +286,7 @@ void RicNewWellBoreStabilityPlotFeature::createParametersTrack( RimWellBoreStabi curve->setLineThickness( 2 ); curve->loadDataAndUpdate( false ); curve->setAutoNameComponents( false, true, false, false, false ); + curve->updateCurveName(); i++; } @@ -352,6 +353,7 @@ void RicNewWellBoreStabilityPlotFeature::createStabilityCurvesTrack( RimWellBore { curve->setCheckState( false ); } + curve->updateCurveName(); } RimWellPathCollection* wellPathCollection = RimTools::wellPathCollection();