diff --git a/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp b/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp index 0a6f45dfd2..337a111f6e 100644 --- a/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp +++ b/ApplicationCode/ProjectDataModel/Flow/RimWellRftPlot.cpp @@ -818,12 +818,12 @@ void RimWellRftPlot::calculateValueOptionsForWells(QList { const std::vector simWellNames = proj->simulationWellNames(); std::set simWellsAssociatedWithWellPath; - std::set wellNames; + std::set> wellNames; // Observed wells for (RimWellPath* const wellPath : proj->allWellPaths()) { - wellNames.insert(wellPath->name()); + wellNames.insert(std::make_pair(wellPath->name() + " (Well Path)", wellPath->name())); if (!wellPath->associatedSimulationWellName().isEmpty()) { @@ -836,13 +836,13 @@ void RimWellRftPlot::calculateValueOptionsForWells(QList { if (simWellsAssociatedWithWellPath.count(simWellName) == 0) { - wellNames.insert(simWellName); + wellNames.insert(std::make_pair(simWellName, simWellName)); } } for (const auto& wellName : wellNames) { - options.push_back(caf::PdmOptionItemInfo(wellName, wellName)); + options.push_back(caf::PdmOptionItemInfo(wellName.first, wellName.second)); } }