From 30addd7aed9263ecbb44966d277857dc4da8afee Mon Sep 17 00:00:00 2001 From: Magne Sjaastad Date: Tue, 10 Nov 2020 14:24:30 +0100 Subject: [PATCH] #6958 Plot Title UDQ : Show vector name in plot title --- .../RiuSummaryQuantityNameInfoProvider.cpp | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/ApplicationCode/UserInterface/RiuSummaryQuantityNameInfoProvider.cpp b/ApplicationCode/UserInterface/RiuSummaryQuantityNameInfoProvider.cpp index 6e76d5ae67..683caf4597 100644 --- a/ApplicationCode/UserInterface/RiuSummaryQuantityNameInfoProvider.cpp +++ b/ApplicationCode/UserInterface/RiuSummaryQuantityNameInfoProvider.cpp @@ -55,15 +55,12 @@ RiuSummaryQuantityNameInfoProvider::RiuSummaryQuantityInfo else if ( quantity.size() > 1 && quantity[1] == 'U' ) { // User defined vector name + // The summary type is given by the first letter, and U defines user-defined + // FU : field user defined name + // WU : well user defined name + // ..... - std::string key = quantity.substr( 0, 2 ); - - it = m_summaryToDescMap.find( key ); - - if ( it != m_summaryToDescMap.end() ) - { - return it->second; - } + return RiuSummaryQuantityInfo(); } else if ( quantity.size() > 5 ) {