From 0be429e0fedf329d54c5c57d9369b84349d4c0eb Mon Sep 17 00:00:00 2001 From: Kristian Bendiksen Date: Mon, 6 Apr 2020 14:49:00 +0200 Subject: [PATCH] #5766 Hide well disk labels when simulation well labels are turned off. --- ApplicationCode/ModelVisualization/RivWellDiskPartMgr.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ApplicationCode/ModelVisualization/RivWellDiskPartMgr.cpp b/ApplicationCode/ModelVisualization/RivWellDiskPartMgr.cpp index dbaf346adf..ed66d80a86 100644 --- a/ApplicationCode/ModelVisualization/RivWellDiskPartMgr.cpp +++ b/ApplicationCode/ModelVisualization/RivWellDiskPartMgr.cpp @@ -357,9 +357,7 @@ void RivWellDiskPartMgr::buildWellDiskParts( size_t frameIndex, const caf::Displ } } - bool showTextLabels = simWellInViewCollection()->showWellDiskQuantityLables() || - ( well->showWellLabel() && well->showWellDisks() && !well->name().isEmpty() ); - + bool showTextLabels = well->showWellLabel() && well->showWellDisks() && !well->name().isEmpty(); if ( showTextLabels ) { cvf::Font* font = RiaGuiApplication::instance()->defaultWellLabelFont();