From 111eeb64b73c597777746a66e2b615a112436595 Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 30 Jan 2024 17:13:16 +0100 Subject: [PATCH] #11144 Make sure multi select of wells and a calculated curve works as expected --- .../UserInterface/RiuSummaryVectorSelectionUi.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ApplicationLibCode/UserInterface/RiuSummaryVectorSelectionUi.cpp b/ApplicationLibCode/UserInterface/RiuSummaryVectorSelectionUi.cpp index 8345313380..8e08798a76 100644 --- a/ApplicationLibCode/UserInterface/RiuSummaryVectorSelectionUi.cpp +++ b/ApplicationLibCode/UserInterface/RiuSummaryVectorSelectionUi.cpp @@ -1269,6 +1269,13 @@ void RiuSummaryVectorSelectionUi::buildAddressListForCategoryRecursively( if ( !identifierPath.empty() ) { identifierPath.pop_back(); + + if ( !identifierPath.empty() && identifierPath.back().first == SummaryIdentifierType::INPUT_ID ) + { + // If the last identifier is an id, remove it as we get two ids for calculated results. One entry for the input vector name + // and one for the calculation id + identifierPath.pop_back(); + } } } }