#11144 Make sure multi select of wells and a calculated curve works as expected

This commit is contained in:
Magne Sjaastad 2024-01-30 17:13:16 +01:00
parent 2e7afeb58b
commit 111eeb64b7

View File

@ -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();
}
}
}
}