From 1d14971bee3912b33b978c6648063f159f9f6028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rnar=20Grip=20Fj=C3=A6r?= Date: Fri, 12 May 2017 09:28:21 +0200 Subject: [PATCH] Consistent formatting in well path completions property editor --- ApplicationCode/ProjectDataModel/RimWellPathCompletion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApplicationCode/ProjectDataModel/RimWellPathCompletion.cpp b/ApplicationCode/ProjectDataModel/RimWellPathCompletion.cpp index 3bba18e062..942d08757d 100644 --- a/ApplicationCode/ProjectDataModel/RimWellPathCompletion.cpp +++ b/ApplicationCode/ProjectDataModel/RimWellPathCompletion.cpp @@ -101,7 +101,7 @@ QString RimWellPathCompletion::displayCoordinates() const { const cvf::Vec3d& coords = m_coordinates()[i]; const double& measuredDepth = m_measuredDepths()[i]; - displayValues.push_back(QString("%1\t%2\t%3\t%4").arg(coords.x()).arg(coords.y()).arg(coords.z()).arg(measuredDepth)); + displayValues.push_back(QString("%1\t%2\t%3\t%4").arg(coords.x(), 0, 'f', 2).arg(coords.y(), 0, 'f', 2).arg(coords.z(), 0, 'f', 2).arg(measuredDepth, 0, 'f', 2)); } return displayValues.join("\n");