From b64cad8bef318df761e46959b1c5fb6dab2a1a08 Mon Sep 17 00:00:00 2001 From: Gaute Lindkvist Date: Mon, 7 Sep 2020 09:14:13 +0200 Subject: [PATCH] #6447 Reduce decimals for correlation sorted parameter list --- .../ProjectDataModel/Summary/RimEnsembleCurveSet.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/Summary/RimEnsembleCurveSet.cpp b/ApplicationCode/ProjectDataModel/Summary/RimEnsembleCurveSet.cpp index 853c9a0eed..5e604d3215 100644 --- a/ApplicationCode/ProjectDataModel/Summary/RimEnsembleCurveSet.cpp +++ b/ApplicationCode/ProjectDataModel/Summary/RimEnsembleCurveSet.cpp @@ -771,7 +771,7 @@ QList RimEnsembleCurveSet::calculateValueOptions( const QString name = paramCorrPair.first.name; double corr = paramCorrPair.second; options.push_back( - caf::PdmOptionItemInfo( QString( "%1 (Avg. correlation: %2)" ).arg( name ).arg( corr ), name ) ); + caf::PdmOptionItemInfo( QString( "%1 (Avg. correlation: %2)" ).arg( name ).arg( corr, 5, 'f', 2 ), name ) ); } } else if ( fieldNeedingOptions == &m_yValuesSummaryAddressUiField )